aboutsummaryrefslogtreecommitdiff
path: root/tests/tcg/minilib/printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/tcg/minilib/printf.c')
-rw-r--r--tests/tcg/minilib/printf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/tcg/minilib/printf.c b/tests/tcg/minilib/printf.c
index 10472b4..fb0189c 100644
--- a/tests/tcg/minilib/printf.c
+++ b/tests/tcg/minilib/printf.c
@@ -27,7 +27,7 @@ static void print_str(char *s)
static void print_num(unsigned long long value, int base)
{
- char digits[] = "0123456789abcdef";
+ static const char digits[] = "0123456789abcdef";
char buf[32];
int i = sizeof(buf) - 2, j;