commit | bc4a1d43fd52e717ef36a17ef41dcf4d1cd8f274 | [log] [tgz] |
---|---|---|
author | cristy <[email protected]> | Mon Dec 15 21:47:00 2014 +0000 |
committer | cristy <[email protected]> | Mon Dec 15 21:47:00 2014 +0000 |
tree | 1af5b19c9359b87725b1bef1553c708fd3d2d8eb | |
parent | 0ce7d8061dfe6eddf8ef5d6546e61dc54847ac3a [diff] [blame] |
diff --git a/coders/aai.c b/coders/aai.c index bc31f6f..66f0c70 100644 --- a/coders/aai.c +++ b/coders/aai.c
@@ -373,7 +373,7 @@ /* Allocate memory for pixels. */ - pixels=(unsigned char *) AcquireQuantumMemory((size_t) image->columns, + pixels=(unsigned char *) AcquireQuantumMemory(image->columns, 4*sizeof(*pixels)); if (pixels == (unsigned char *) NULL) ThrowWriterException(ResourceLimitError,"MemoryAllocationFailed");