Corrected function signature on SDL_strtod_inline() (thanks, Axel!).
authorRyan C. Gordon <icculus@icculus.org>
Fri, 29 Mar 2013 21:29:57 -0400
changeset 7036 8c891504e325
parent 7035 c18daa241a02
child 7037 3fedf1f25b94
Corrected function signature on SDL_strtod_inline() (thanks, Axel!). Fixes Bugzilla #1774.
include/SDL_stdinc.h
--- a/include/SDL_stdinc.h	Fri Mar 29 21:25:02 2013 -0400
+++ b/include/SDL_stdinc.h	Fri Mar 29 21:29:57 2013 -0400
@@ -592,7 +592,7 @@
 
 extern DECLSPEC double SDLCALL SDL_strtod(const char *str, char **endp);
 #ifdef HAVE_STRTOD
-SDL_FORCE_INLINE Uint64 SDL_strtod_inline(const char *str, char **endp) { return strtod(str, endp); }
+SDL_FORCE_INLINE double SDL_strtod_inline(const char *str, char **endp) { return strtod(str, endp); }
 #define SDL_strtod SDL_strtod_inline
 #endif