From b2f54efed2d4041925064131ecf815e9d5555be6 Mon Sep 17 00:00:00 2001 From: Phil Race Date: Tue, 24 Mar 2009 10:53:04 -0700 Subject: [PATCH] 6821504: typo in lcmsio.c Reviewed-by: jgodinez --- jdk/src/share/native/sun/java2d/cmm/lcms/cmsio0.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jdk/src/share/native/sun/java2d/cmm/lcms/cmsio0.c b/jdk/src/share/native/sun/java2d/cmm/lcms/cmsio0.c index 602a3eb943b..7f8cbf06779 100644 --- a/jdk/src/share/native/sun/java2d/cmm/lcms/cmsio0.c +++ b/jdk/src/share/native/sun/java2d/cmm/lcms/cmsio0.c @@ -190,7 +190,7 @@ LCMSBOOL MemoryGrow(struct _lcms_iccprofile_struct* Icc, size_t size) /* Follow same policies as functions in lcms.h */ if (ResData->Size + size < 0) return NULL; - if (ResData->Size + size > (size_t)1024*1024*500))) return NULL; + if (ResData->Size + size > ((size_t)1024*1024*500)) return NULL; newBlock = realloc(ResData->Block, ResData->Size + size);