6821504: typo in lcmsio.c
authorprr
Tue, 24 Mar 2009 10:53:04 -0700
changeset 2395 f5bcb8ee6555
parent 2394 404cbe399601
child 2396 d8b1468ef554
child 2693 f87942d1edba
6821504: typo in lcmsio.c Reviewed-by: jgodinez
jdk/src/share/native/sun/java2d/cmm/lcms/cmsio0.c
--- a/jdk/src/share/native/sun/java2d/cmm/lcms/cmsio0.c	Tue Mar 24 09:14:02 2009 -0700
+++ b/jdk/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);