From 0582fdf9345be5be2943dba27a5f37daf434ae2d Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Thu, 25 Jan 2018 20:29:22 +0100 Subject: [PATCH] chg: pointer should be unsigned --- client/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/util.c b/client/util.c index 02b0e3e6c..8ee5c79ed 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 % " PRId32 " of %s\n", x, x, source - start, start); + printf("Discovered unknown character %c %d at idx % " PRIu32 " of %s\n", x, x, source - start, start); return 0; } // output