From 4671b811157d8c224a2b27e240801b15febcfb56 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Thu, 25 Jan 2018 20:54:15 +0100 Subject: [PATCH] chg: skip pointers and make a small number instead. --- client/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/util.c b/client/util.c index 8ee5c79ed..b555352cd 100644 --- a/client/util.c +++ b/client/util.c @@ -622,7 +622,7 @@ int hextobinarray(char *target, char *source) else if (x >= 'A' && x <= 'F') x -= 'A' - 10; else { - printf("Discovered unknown character %c %d at idx % " PRIu32 " of %s\n", x, x, source - start, start); + printf("Discovered unknown character %c %d at idx %d of %s\n", x, x, (int16_t)(source - start), start); return 0; } // output