about summary refs log tree commit diff
path: root/urt
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2020-06-07 18:14:28 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2020-06-07 18:14:28 +0000
commit0fe415fe3cc57635658868608d8aed97ed52110f (patch)
treebdeb274213108611f4ea1a4f4d7d39f50c412265 /urt
parentc96477e4ee039cdd4907d88d663989ac199728e4 (diff)
downloadnetpbm-mirror-0fe415fe3cc57635658868608d8aed97ed52110f.tar.gz
netpbm-mirror-0fe415fe3cc57635658868608d8aed97ed52110f.tar.xz
netpbm-mirror-0fe415fe3cc57635658868608d8aed97ed52110f.zip
silence compiler warnings
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@3836 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'urt')
-rw-r--r--urt/scanargs.c4
1 files changed, 2 insertions, 2 deletions
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;