mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-02 09:57:40 +00:00
parent
407867cf72
commit
3ea35fe5bb
1 changed files with 1 additions and 1 deletions
|
@ -932,7 +932,7 @@ int SDL_atoi(const char *string)
|
||||||
#ifdef HAVE_ATOI
|
#ifdef HAVE_ATOI
|
||||||
return atoi(string);
|
return atoi(string);
|
||||||
#else
|
#else
|
||||||
return SDL_strtol(string, NULL, 0);
|
return SDL_strtol(string, NULL, 10);
|
||||||
#endif /* HAVE_ATOI */
|
#endif /* HAVE_ATOI */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue