ソースを参照

SDL_itoa(): use _itoa_s(), not _ltoa_s()

typo introduced by commit 33c9f1a70a813654a02c922aa33c658d8f9bd422
Ozkan Sezer 16 時間 前
コミット
ae07e32269
1 ファイル変更1 行追加1 行削除
  1. 1 1
      src/stdlib/SDL_string.c

+ 1 - 1
src/stdlib/SDL_string.c

@@ -1156,7 +1156,7 @@ static const char ntoa_table[] = {
 char *SDL_itoa(int value, char *string, int radix)
 char *SDL_itoa(int value, char *string, int radix)
 {
 {
 #ifdef HAVE__ITOA_S
 #ifdef HAVE__ITOA_S
-    (void)_ltoa_s(value, string, 12, radix);
+    (void)_itoa_s(value, string, 12, radix);
     return string;
     return string;
 #elif defined(HAVE_ITOA)
 #elif defined(HAVE_ITOA)
     return itoa(value, string, radix);
     return itoa(value, string, radix);