(find_word) Cast `char' to `unsigned char' before passing to
[pspp-builds.git] / src / command.c
index 3185446789b5073ae0b225ce2bdd855152214e3e..de77be80e8f95596e67c291309590691b84b2377 100644 (file)
@@ -305,7 +305,7 @@ static const char *
 find_word (const char *string, size_t *word_len) 
 {
   /* Skip whitespace and asterisks. */
-  while (isspace (*string))
+  while (isspace ((unsigned char) *string))
     string++;
 
   /* End of string? */