diff options
Diffstat (limited to 'coders/map.c')
-rw-r--r-- | coders/map.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coders/map.c b/coders/map.c index e1bdf6ce6..16fb68da4 100644 --- a/coders/map.c +++ b/coders/map.c @@ -211,7 +211,7 @@ static Image *ReadMAPImage(const ImageInfo *image_info,ExceptionInfo *exception) { p=pixels; q=QueueAuthenticPixels(image,0,y,image->columns,1,exception); - if (q == (const Quantum *) NULL) + if (q == (Quantum *) NULL) break; count=ReadBlob(image,(size_t) packet_size*image->columns,pixels); if (count != (ssize_t) (packet_size*image->columns)) |