mirror of
https://github.com/kichikuou/xsystem35-sdl2.git
synced 2026-10-12 09:08:23 +03:00
Fix a compiler warning
This commit is contained in:
+1
-1
@@ -214,7 +214,7 @@ char *format_number_zenkaku(int n, int width, char *buf) {
|
||||
char work[256];
|
||||
char *dst = buf;
|
||||
for (char *s = format_number(n, width, work); *s; s++) {
|
||||
char *p = zenkaku_digits[*s == ' ' ? 10 : *s - '0'];
|
||||
const char *p = zenkaku_digits[*s == ' ' ? 10 : *s - '0'];
|
||||
while (*p)
|
||||
*dst++ = *p++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user