From: cristy Date: Tue, 14 Aug 2012 12:57:38 +0000 (+0000) Subject: (no commit message) X-Git-Tag: 7.0.1-0~5138 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ede8a0e2dcd1dab584ad324dbd6d5bf4cf9df488;p=imagemagick --- diff --git a/coders/jnx.c b/coders/jnx.c index 439cb001a..a5278a10f 100644 --- a/coders/jnx.c +++ b/coders/jnx.c @@ -274,7 +274,8 @@ static Image *ReadJNXImage(const ImageInfo *image_info,ExceptionInfo *exception) /* Read a tile. */ - blob=(unsigned char *) AcquireQuantumMemory(tile_length+2,sizeof(*blob)); + blob=(unsigned char *) AcquireQuantumMemory((size_t) tile_length+2, + sizeof(*blob)); if (blob == (unsigned char *) NULL) { if (images != (Image *) NULL)