commit | ede8a0e2dcd1dab584ad324dbd6d5bf4cf9df488 | [log] [tgz] |
---|---|---|
author | cristy <urban-warrior@git.imagemagick.org> | Tue Aug 14 12:57:38 2012 +0000 |
committer | cristy <urban-warrior@git.imagemagick.org> | Tue Aug 14 12:57:38 2012 +0000 |
tree | ab7dec35889e61e62d6f542cbc762580a0359fea | |
parent | 9e2d53c10d610e2e6099cdae06516926d133c321 [diff] |
diff --git a/coders/jnx.c b/coders/jnx.c index 439cb00..a5278a1 100644 --- a/coders/jnx.c +++ b/coders/jnx.c
@@ -274,7 +274,8 @@ /* 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)