From bde43997fa181d93cec8ea6c6b46d239a63c44ab Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Wed, 3 Apr 2013 10:36:15 -0400 Subject: [PATCH] Fixed infinite recursion (thanks, Rainer!). --- src/stdlib/SDL_string.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stdlib/SDL_string.c b/src/stdlib/SDL_string.c index a1bfe6105..da7290600 100644 --- a/src/stdlib/SDL_string.c +++ b/src/stdlib/SDL_string.c @@ -31,8 +31,8 @@ #undef SDL_atof char *SDL_itoa(int value, char *str, int radix) { return SDL_itoa_inline(value, str, radix); } char *SDL_uitoa(unsigned int value, char *str, int radix) { return SDL_uitoa_inline(value, str, radix); } -int SDL_atoi(const char *str) { return SDL_atoi(str); } -double SDL_atof(const char *str) { return SDL_atof(str); } +int SDL_atoi(const char *str) { return SDL_atoi_inline(str); } +double SDL_atof(const char *str) { return SDL_atof_inline(str); }