Merge remote branch 'upstream/master'
[srvx.git] / src / modcmd.c
index 43a553155d2e5885824ae760a4f53737181c8608..290d75c75c79ee09c3539f683c53d888f2bb8cef 100644 (file)
@@ -995,9 +995,10 @@ check_alias_args(char *argv[], unsigned int argc) {
             continue;
         } else if (isdigit(argv[arg][1])) {
             char *end_num;
-            unsigned long tmp;
+            unsigned int tmp;
 
             tmp = strtoul(argv[arg]+1, &end_num, 10);
+            (void)tmp;
             switch (end_num[0]) {
             case 0:
                 continue;