From 0fe415fe3cc57635658868608d8aed97ed52110f Mon Sep 17 00:00:00 2001 From: giraffedata Date: Sun, 7 Jun 2020 18:14:28 +0000 Subject: silence compiler warnings git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3836 9d0c8265-081b-0410-96cb-a4ca84ce46f8 --- urt/scanargs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'urt') diff --git a/urt/scanargs.c b/urt/scanargs.c index 4c67a3a6..1dcdd235 100644 --- a/urt/scanargs.c +++ b/urt/scanargs.c @@ -114,7 +114,7 @@ va_list argl; bool required; int excnt; /* which flag is set */ - bool exflag; /* when set, one of a set of exclusive + unsigned int exflag; /* How many of a set of exclusive flags is set */ bool list_of; /* set if parsing off a list of args */ @@ -770,7 +770,7 @@ reswitch: switch (*++cp) { case ',': - comma_list++; + comma_list = YES; case '*': list_of++; goto reswitch; -- cgit 1.4.1