projects
/
imagemagick
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ec87cc
)
(no commit message)
author
cristy
<urban-warrior@git.imagemagick.org>
Mon, 18 Feb 2013 18:19:08 +0000
(18:19 +0000)
committer
cristy
<urban-warrior@git.imagemagick.org>
Mon, 18 Feb 2013 18:19:08 +0000
(18:19 +0000)
coders/webp.c
patch
|
blob
|
history
diff --git
a/coders/webp.c
b/coders/webp.c
index d25cfc9a8f075a39b872d0031735946ccf0fbfe7..48688f8567524ba92d0f947ff0b6407663620933 100644
(file)
--- a/
coders/webp.c
+++ b/
coders/webp.c
@@
-356,7
+356,7
@@
static MagickBooleanType WriteWEBPImage(const ImageInfo *image_info,
assert(image->signature == MagickSignature);
if (image->debug != MagickFalse)
(void) LogMagickEvent(TraceEvent,GetMagickModule(),"%s",image->filename);
- if ((image->columns > 16383
) || (image->rows > 16383
))
+ if ((image->columns > 16383
UL) || (image->rows > 16383UL
))
ThrowWriterException(ImageError,"WidthOrHeightExceedsLimit");
status=OpenBlob(image_info,image,WriteBinaryBlobMode,exception);
if (status == MagickFalse)