aboutsummaryrefslogtreecommitdiff
path: root/src/jpeg.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/jpeg.c')
-rw-r--r--src/jpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/jpeg.c b/src/jpeg.c
index 9c2b327a..ab675b2f 100644
--- a/src/jpeg.c
+++ b/src/jpeg.c
@@ -286,7 +286,7 @@ static void Jpeg_write(DilloJpeg *jpeg, void *Buf, uint_t BufSize)
/* check max image size */
if (jpeg->cinfo.image_width <= 0 || jpeg->cinfo.image_height <= 0 ||
- jpeg->cinfo.image_width >
+ jpeg->cinfo.image_width >
IMAGE_MAX_AREA / jpeg->cinfo.image_height) {
MSG("Jpeg_write: suspicious image size request %ux%u\n",
(uint_t)jpeg->cinfo.image_width,