projects
/
imagemagick
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c4ccb7
)
...
author
Cristy
<urban-warrior@imagemagick.org>
Sat, 10 Feb 2018 20:30:44 +0000
(15:30 -0500)
committer
Cristy
<urban-warrior@imagemagick.org>
Sat, 10 Feb 2018 20:30:44 +0000
(15:30 -0500)
coders/xcf.c
patch
|
blob
|
history
diff --git
a/coders/xcf.c
b/coders/xcf.c
index a257b2fa8b5d7b799307b7f567d113ab75df91b9..c471609cb8fb6778e28490e325353bb37ffbafb6 100644
(file)
--- a/
coders/xcf.c
+++ b/
coders/xcf.c
@@
-644,7
+644,7
@@
static MagickBooleanType load_level(Image *image,XCFDocInfo *inDocInfo,
/* read in the offset of the next tile so we can calculate the amount
of data needed for this tile*/
offset2=(MagickOffsetType)ReadBlobMSBLong(image);
- if (offset2 > GetBlobSize(image))
+ if (
(MagickSizeType)
offset2 > GetBlobSize(image))
ThrowBinaryException(CorruptImageError,"InsufficientImageDataInFile",
image->filename);
/* if the offset is 0 then we need to read in the maximum possible