mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-24 22:09:54 +00:00
SDL_itoa(): use _itoa_s(), not _ltoa_s()
typo introduced by commit 33c9f1a70a
This commit is contained in:
@@ -1156,7 +1156,7 @@ static const char ntoa_table[] = {
|
||||
char *SDL_itoa(int value, char *string, int radix)
|
||||
{
|
||||
#ifdef HAVE__ITOA_S
|
||||
(void)_ltoa_s(value, string, 12, radix);
|
||||
(void)_itoa_s(value, string, 12, radix);
|
||||
return string;
|
||||
#elif defined(HAVE_ITOA)
|
||||
return itoa(value, string, radix);
|
||||
|
||||
Reference in New Issue
Block a user