From: Klas Lindfors Date: Mon, 3 Mar 2014 10:21:09 +0000 (+0100) Subject: make const to avoid warning X-Git-Tag: v1.15.1~11 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32cc871ea0e173473765207d9a203e6d20796013;p=yubikey-personalization make const to avoid warning --- 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);