mirror of https://github.com/GNOME/gimp.git
GetDataBlock returns -1 on error, so count should be an int, not an
2005-04-09 Manish Singh <yosh@gimp.org> * plug-ins/common/gifload.c (GetCode): GetDataBlock returns -1 on error, so count should be an int, not an unsigned char. Fixes bug #173119.
This commit is contained in:
parent
361f8a6361
commit
1996db3040
|
@ -1,3 +1,9 @@
|
|||
2005-04-09 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* plug-ins/common/gifload.c (GetCode): GetDataBlock returns -1 on
|
||||
error, so count should be an int, not an unsigned char. Fixes
|
||||
bug #173119.
|
||||
|
||||
2005-04-09 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/winicon/icosave.c: implement color counting without
|
||||
|
|
|
@ -600,8 +600,7 @@ GetCode (FILE *fd,
|
|||
{
|
||||
static unsigned char buf[280];
|
||||
static int curbit, lastbit, done, last_byte;
|
||||
int i, j, ret;
|
||||
unsigned char count;
|
||||
int i, j, ret, count;
|
||||
|
||||
if (flag)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue