(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sat, 17 Aug 2013 16:34:53 +0000 (16:34 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sat, 17 Aug 2013 16:34:53 +0000 (16:34 +0000)
MagickCore/list.c
MagickCore/vms.c

index 0324df19f589265d2c27b620a7cf05527467adf1..a9ae5e1fd27203a758f907b52676bb48eeb8d2f4 100644 (file)
@@ -382,7 +382,7 @@ MagickExport void DeleteImages(Image **images,const char *scenes,
   */
   for (p=(char *) scenes; *p != '\0';)
   {
-    while ((isspace((int) *p) != 0) || (*p == ','))
+    while ((isspace((int) ((unsigned char) *p)) != 0) || (*p == ','))
       p++;
     first=strtol(p,&p,10);
     if (first < 0)
index 81cc9deeb644f4b00b27bca357dc3617421078aa..f4d02d1ec4c47685ca5326b001758a97ac7eecab 100644 (file)
@@ -201,7 +201,7 @@ struct dirent *readdir(DIR *directory)
     Skip any directory component and just copy the name.
   */
   p=buffer;
-  while (isspace((unsigned char) *p) == 0)
+  while (isspace((int) ((unsigned char) *p)) == 0)
     p++;
   *p='\0';
   p=strchr(buffer,']');