]> granicus.if.org Git - php/commitdiff
missed to commit this fix: correct since this is only a flag
authorMarcus Boerger <helly@php.net>
Sun, 11 Aug 2002 19:19:35 +0000 (19:19 +0000)
committerMarcus Boerger <helly@php.net>
Sun, 11 Aug 2002 19:19:35 +0000 (19:19 +0000)
ext/gd/libgd/gd_gd.c

index 72213a848ed0fb7cb881c128912f6d734ea78ac7..60037395c3e8731923bef22805c291b6439fc99d 100644 (file)
@@ -196,7 +196,7 @@ _gdPutColors (gdImagePtr im, gdIOCtx * out)
 {
   int i;
 
-  gdPutC (im->trueColor, out);
+  gdPutC ((unsigned char)im->trueColor, out);
   if (!im->trueColor)
     {
       gdPutWord (im->colorsTotal, out);