From 32cc871ea0e173473765207d9a203e6d20796013 Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Mon, 3 Mar 2014 11:21:09 +0100 Subject: [PATCH] make const to avoid warning --- tests/test_args_to_config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_args_to_config.c b/tests/test_args_to_config.c index a3b6f77..8a58d33 100644 --- a/tests/test_args_to_config.c +++ b/tests/test_args_to_config.c @@ -57,7 +57,7 @@ struct ykp_config_t { static void _yktest_hexdump(const char *prefix, const void *buffer, int size, int break_on) { - unsigned char *p = buffer; + unsigned const char *p = buffer; int i; if (prefix != NULL) fprintf(stderr, "%s", prefix); -- 2.39.5