From 7f68f374338955381f83b9732412a1a8e5bbac97 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Thu, 14 May 2015 09:03:27 +0200 Subject: [PATCH] xundump: Pass unsigned * for scanf directive %3o, not int * Signed-off-by: Markus Armbruster --- src/lib/common/xundump.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/common/xundump.c b/src/lib/common/xundump.c index 4f2041940..277701735 100644 --- a/src/lib/common/xundump.c +++ b/src/lib/common/xundump.c @@ -714,7 +714,8 @@ static char * xuesc(char *buf) { char *src, *dst; - int octal_chr, n; + unsigned octal_chr; + int n; dst = buf; src = buf; -- 2.43.0