From 90f23029e1cb817ceb201567d6a7874fa9f60fb5 Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Mon, 15 Feb 2016 09:29:05 +0100 Subject: [PATCH] make step unsigned in dump_data() since it's muliplied with another unsigned int --- tool/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/util.c b/tool/util.c index 9e3b675..700b5e5 100644 --- a/tool/util.c +++ b/tool/util.c @@ -194,7 +194,7 @@ void dump_data(const unsigned char *buf, unsigned int len, FILE *output, bool sp { char tmp[3072 * 3 + 1]; unsigned int i; - int step = 2; + unsigned int step = 2; if(space) step += 1; if(len > 3072) { return;