WarpMouse fix?

I’m finding that both SDL_WarpMouse and SDL_WarpMouseInWindow are causing access violations.
I found this thread going back 2 years with a similar problem! http://forums.libsdl.org/viewtopic.php?t=4378&highlight=warpmouse

Is there a fix for this or any word on when this might be fixed? I’m on release 5536 right now.

Ok it looks like I was mistaken. I was passing NULL instead of my window id which was causing the error.

According to the wiki (http://wiki.libsdl.org/moin.cgi/SDL_WarpMouseInWindow) “the window to move the mouse into, or NULL for the current mouse focus” I thought it would just use the current window.