summaryrefslogtreecommitdiff
path: root/src/usbhid-dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/usbhid-dump.c')
-rw-r--r--src/usbhid-dump.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/usbhid-dump.c b/src/usbhid-dump.c
index fca81a9..7ceb683 100644
--- a/src/usbhid-dump.c
+++ b/src/usbhid-dump.c
@@ -597,7 +597,7 @@ parse_number_pair(const char *str,
p = str;
/* Skip space (prevent strtol doing so) */
- while (isspace(*p))
+ while (isspace((int)*p))
p++;
/* Extract the first number */
@@ -614,7 +614,7 @@ parse_number_pair(const char *str,
p = end;
/* Skip space */
- while (isspace(*p))
+ while (isspace((int)*p))
p++;
/* If it is the end of string */
@@ -630,7 +630,7 @@ parse_number_pair(const char *str,
p++;
/* Skip space (prevent strtol doing so) */
- while (isspace(*p))
+ while (isspace((int)*p))
p++;
/* Extract the second number */
@@ -646,7 +646,7 @@ parse_number_pair(const char *str,
p = end;
/* Skip space */
- while (isspace(*p))
+ while (isspace((int)*p))
p++;
/* If it is not the end of string */
@@ -729,7 +729,7 @@ parse_iface_num(const char *str,
p = str;
/* Skip space (prevent strtol doing so) */
- while (isspace(*p))
+ while (isspace((int)*p))
p++;
/* Extract interface number */
@@ -759,7 +759,7 @@ parse_timeout(const char *str,
p = str;
/* Skip space (prevent strtoll doing so) */
- while (isspace(*p))
+ while (isspace((int)*p))
p++;
/* Extract timeout */