* fixed win64 sdl compile errors with mingw64 - thanks to Franz Schrober

* this should go upstream