Commit 1d0f2414 authored by GMT 2000  Adam D. Moss's avatar GMT 2000 Adam D. Moss Committed by Adam D. Moss
Browse files

Type of written array should be unsigned, as that's the type of data we're

Wed Mar  8 12:40:53 GMT 2000  Adam D. Moss <adam@gimp.org>

        * plug-ins/common/xbm.c: Type of written array should
        be unsigned, as that's the type of data we're initializing
        it with.  Cast back to signed for passing to XCreateBitmapFromData()
        etc.
parent 2124d1fb
Wed Mar 8 12:40:53 GMT 2000 Adam D. Moss <adam@gimp.org>
* plug-ins/common/xbm.c: Type of written array should
be unsigned, as that's the type of data we're initializing
it with. Cast back to signed for passing to XCreateBitmapFromData()
etc.
2000-03-07 Michael Natterer <mitch@gimp.org>
 
* app/disp_callbacks.c: show GIMP_BAD_CURSOR if we have no layers.
......
......@@ -1024,7 +1024,7 @@ save_image (gchar *filename,
}
fprintf (fp, "static %s %s_bits[] = {\n ",
xsvals.x10_format ? "short" : "char", prefix);
xsvals.x10_format ? "unsigned short" : "unsigned char", prefix);
/* Allocate a new set of pixels. */
tileheight = gimp_tile_height ();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment