]> err.no Git - yubikey-personalization/commitdiff
make const to avoid warning
authorKlas Lindfors <klas@yubico.com>
Mon, 3 Mar 2014 10:21:09 +0000 (11:21 +0100)
committerKlas Lindfors <klas@yubico.com>
Mon, 3 Mar 2014 10:21:09 +0000 (11:21 +0100)
tests/test_args_to_config.c

index a3b6f77f27840a8d07302b4e0845e32a88ecd217..8a58d33515b327ae405710432b19e01fe45d288b 100644 (file)
@@ -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);