From 4b6ae3c3c2ce37a766049491af8e8b2426b1a46f Mon Sep 17 00:00:00 2001 From: Christos Zoulas Date: Sun, 30 Sep 2018 16:53:22 -0400 Subject: [PATCH] add missing const Reviewed-by: Richard Levitte Reviewed-by: Viktor Dukhovni --- test/destest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/destest.c b/test/destest.c index 6b57911de3..fe56d9a76b 100644 --- a/test/destest.c +++ b/test/destest.c @@ -287,7 +287,7 @@ static char *pt(const unsigned char *p, char buf[DATA_BUF_SIZE]) { char *ret; int i; - static char *f = "0123456789ABCDEF"; + static const char *f = "0123456789ABCDEF"; ret = &(buf[0]); for (i = 0; i < 8; i++) { -- 2.25.1