SDL_SetTimer problem

Hello,

I have got some error reports about that SDL_SetTimer didn’t work with SDL
1.1.3.

Here the code:
if( SDL_SetTimer(
(100*1000/FRAMES_PER_SECOND)/VideoSyncSpeed,
VideoSyncHandler) ) {
fprintf(stderr,“Can’t set timer\n”);
}

The error message is shown.

This works fine for me with SDL 1.0.8. The user uses Kernel 2.4.0test…,
XFree 4.0 and glibc 2.1.2 and SDL 1.1.3. Perhaps this an already known problem.

Bye,
Johns–
Become famous, earn no money, create graphics for FreeCraft.

http://FreeCraft.Org - A free fantasy real-time strategy game engine
http://fgp.cjb.net - The FreeCraft Graphics Project