changeset 1053:0c69e3ba15f4

6821504: typo in lcmsio.c Reviewed-by: jgodinez
author prr
date Tue, 24 Mar 2009 10:53:04 -0700
parents e2cc7ffbb355
children 8e36b37745d4 a33222e53611
files src/share/native/sun/java2d/cmm/lcms/cmsio0.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/native/sun/java2d/cmm/lcms/cmsio0.c	Tue Mar 24 09:14:02 2009 -0700
+++ b/src/share/native/sun/java2d/cmm/lcms/cmsio0.c	Tue Mar 24 10:53:04 2009 -0700
@@ -190,7 +190,7 @@
 
     /* 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);