BUILD: silence a warning on Solaris about usage of isdigit()

On Solaris, isdigit() is a macro and it complains about the use of
a char instead of the int for the argument. Let's cast it to an int
to silence it.
diff --git a/src/cfgparse.c b/src/cfgparse.c
index 72719dc..c317743 100644
--- a/src/cfgparse.c
+++ b/src/cfgparse.c
@@ -1231,7 +1231,7 @@
 		while (*args[cur_arg]) {
 			unsigned int low, high;
 
-			if (isdigit(*args[cur_arg])) {
+			if (isdigit((int)*args[cur_arg])) {
 				char *dash = strchr(args[cur_arg], '-');
 
 				low = high = str2uic(args[cur_arg]);
@@ -2146,7 +2146,7 @@
 			else if (strcmp(args[cur_arg], "even") == 0) {
 				set |= 0xAAAAAAAA;
 			}
-			else if (isdigit(*args[cur_arg])) {
+			else if (isdigit((int)*args[cur_arg])) {
 				char *dash = strchr(args[cur_arg], '-');
 
 				low = high = str2uic(args[cur_arg]);
@@ -4599,7 +4599,7 @@
 								name = end;
 								if (*end == '-')
 									end++;
-								while (isdigit(*end))
+								while (isdigit((int)*end))
 									end++;
 								newsrv->bind_hdr_occ = strl2ic(name, end-name);
 							}
@@ -5032,7 +5032,7 @@
 						name = end;
 						if (*end == '-')
 							end++;
-						while (isdigit(*end))
+						while (isdigit((int)*end))
 							end++;
 						curproxy->bind_hdr_occ = strl2ic(name, end-name);
 					}
diff --git a/src/dumpstats.c b/src/dumpstats.c
index db82005..997bdec 100644
--- a/src/dumpstats.c
+++ b/src/dumpstats.c
@@ -322,7 +322,7 @@
 			else if (strcmp(args[cur_arg], "even") == 0) {
 				set |= 0xAAAAAAAA;
 			}
-			else if (isdigit(*args[cur_arg])) {
+			else if (isdigit((int)*args[cur_arg])) {
 				char *dash = strchr(args[cur_arg], '-');
 
 				low = high = str2uic(args[cur_arg]);