From 17381f7737dd82443053c6e36aa5c0f004107dd4 Mon Sep 17 00:00:00 2001 From: cristy Date: Mon, 12 Jan 2015 23:46:26 +0000 Subject: [PATCH] --- MagickCore/resource.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MagickCore/resource.c b/MagickCore/resource.c index 7cc6379b8..287c0f696 100644 --- a/MagickCore/resource.c +++ b/MagickCore/resource.c @@ -114,8 +114,8 @@ static ResourceInfo MagickULLConstant(0), /* initial thread */ MagickULLConstant(0), /* initial throttle */ MagickULLConstant(0), /* initial time */ - (LONG_MAX/(5*sizeof(Quantum))), /* width limit */ - (LONG_MAX/(5*sizeof(Quantum))), /* height limit */ + (INT_MAX/(5*sizeof(Quantum))), /* width limit */ + (INT_MAX/(5*sizeof(Quantum))), /* height limit */ MagickULLConstant(3072)*1024*1024, /* area limit */ MagickULLConstant(1536)*1024*1024, /* memory limit */ MagickULLConstant(3072)*1024*1024, /* map limit */ -- 2.40.0