From 95d0dade44ea712b81468ea9c1c7ca966610ea56 Mon Sep 17 00:00:00 2001 From: tyfkda Date: Thu, 31 Oct 2024 08:46:43 +0900 Subject: [PATCH] Missing const --- libsrc/stdio/vfprintf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsrc/stdio/vfprintf.c b/libsrc/stdio/vfprintf.c index 40acc8a4f..23f9b8947 100644 --- a/libsrc/stdio/vfprintf.c +++ b/libsrc/stdio/vfprintf.c @@ -15,8 +15,8 @@ #define SIGN(p) ((p) ? '+' : '-') #define STATIC_ASSERT(cond) char __dummy[(cond) ? 0 : -1]; (void)__dummy -static char kHexDigits[] = "0123456789abcdef"; -static char kUpperHexDigits[] = "0123456789ABCDEF"; +static const char kHexDigits[] = "0123456789abcdef"; +static const char kUpperHexDigits[] = "0123456789ABCDEF"; static int putnstr(FILE *fp, int n, const char *s) { int i;