Problems compiling (hmm...)

I’m having problems compiling the testwm.c code included with a CVS
build of SDL12. The errors I get are as follows:

C:\SDL-1.2.6\test\testwm.c
[Warning] In function `void HotKey_ToggleGrab()’:

96
C:\SDL-1.2.6\test\testwm.c
cannot convert bool' toSDL_GrabMode’

C:\Documents and Settings\Granoblastic Man\My Documents\Dev-C++
Projects\Makefile.win
[Build Error] […/…/…/…/SDL-1.2.6/test/testwm.o] Error 1

The line it’s complaining about, specifically, reads:

mode = SDL_WM_GrabInput(!mode);

Thanks in advance for your help,
Ken

I’m having problems compiling the testwm.c code included with a CVS
build of SDL12. The errors I get are as follows:

C:\SDL-1.2.6\test\testwm.c
[Warning] In function `void HotKey_ToggleGrab()’:

96
C:\SDL-1.2.6\test\testwm.c
cannot convert bool' toSDL_GrabMode’

That’s a legitimate complaint. I’ve fixed it in CVS.

Thanks!
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Sam Lantinga wrote:

I’m having problems compiling the testwm.c code included with a CVS
build of SDL12. The errors I get are as follows:

C:\SDL-1.2.6\test\testwm.c
[Warning] In function `void HotKey_ToggleGrab()’:

96
C:\SDL-1.2.6\test\testwm.c
cannot convert bool' toSDL_GrabMode’

That’s a legitimate complaint. I’ve fixed it in CVS.

Thanks!
-Sam Lantinga, Software Engineer, Blizzard Entertainment

Ah, thanks Sam… I’m sorry for posting all over the dern place, though,
I really wanted to figure this problem out.>