Commit c61dc136 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

fixed signedness issue.

2005-08-15  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psd_save.c: fixed signedness issue.
parent 520fde5a
2005-08-15 Sven Neumann <sven@gimp.org>
* plug-ins/common/psd_save.c: fixed signedness issue.
2005-08-14 Michael Natterer <mitch@gimp.org>
* plug-ins/common/jigsaw.c
......
......@@ -1071,9 +1071,8 @@ write_pixel_data (FILE *fd, gint32 drawableID, gint32 *ChanLenPosition,
gimp_tile_cache_ntiles (2* (drawable->width / gimp_tile_width () + 1));
LengthsTable = g_new (gshort, height);
rledata = g_new (gchar, (MIN(height, tile_height) *
(width + 10 + (width/100))));
rledata = g_new (guchar, (MIN (height, tile_height) *
(width + 10 + (width / 100))));
data = g_new (guchar, MIN(height, tile_height) * width * bytes);
......
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