fixed signedness issue.

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

	* plug-ins/common/psd_save.c: fixed signedness issue.
This commit is contained in:
Sven Neumann 2005-08-15 07:52:07 +00:00 committed by Sven Neumann
parent 520fde5a63
commit c61dc13630
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,7 @@
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

View File

@ -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);