From 9572807453da1e92657df7b88eb8a5e0f578d21c Mon Sep 17 00:00:00 2001 From: corvid Date: Mon, 4 Apr 2011 17:56:15 +0000 Subject: clearer MSG for suspicious image size I saw a MSG with size 0x[something], and of course I thought it was complaining that a size was given in hex notation. --- src/jpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jpeg.c') diff --git a/src/jpeg.c b/src/jpeg.c index a6af3a2b..93d9df07 100644 --- a/src/jpeg.c +++ b/src/jpeg.c @@ -291,7 +291,7 @@ static void Jpeg_write(DilloJpeg *jpeg, void *Buf, uint_t BufSize) if (jpeg->cinfo.image_width <= 0 || jpeg->cinfo.image_height <= 0 || jpeg->cinfo.image_width > IMAGE_MAX_AREA / jpeg->cinfo.image_height) { - MSG("Jpeg_write: suspicious image size request %ux%u\n", + MSG("Jpeg_write: suspicious image size request %u x %u\n", (uint_t)jpeg->cinfo.image_width, (uint_t)jpeg->cinfo.image_height); jpeg->state = DILLO_JPEG_ERROR; -- cgit v1.2.3