Sdl_ttf 1.2.2, win32 (vc++6) compilation

hello,

I tried to switch to SDL_ttf 1.2.2 (i was using 1.0.2 before) but I can’t
compile it. I have the following error :

error C2036: ‘void *’ : unknown size at this line :

for ( row=0; rowh; ++row ) { src = glyph->pixmap.bitmap + row *
glyph->pixmap.cols; <-- HERE

Is it a known problem ?

P.S. : I’m using freetype 1.2, SDL 1.1.6

Thanks in advance,
PH.

Hello PH-Neutre,

Thursday, November 02, 2000, 12:29:56 PM, you wrote:

PN> error C2036: ‘void *’ : unknown size at this line :

PN> for ( row=0; rowh; ++row ) { src = glyph->pixmap.bitmap + row *
glyph->>pixmap.cols; <-- HERE

PN> Thanks in advance,
PN> PH.

try to typcast it to (int* )
src = glyph->pixmap.bitmap + row * (int *) glyph->pixmap.cols;

i have a precompiled win32 version of this stuff if ya want it send a message to
me directly–
Best regards,
Simson mailto:Simsonsemail at gmx.de