diff --git a/ChangeLog b/ChangeLog index 6ab0d8c58..b1d357cb8 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-05-08 14:11 Gregory John Casamento + + * Source/NSPropertyList.m: Corrected setup so that compilation + works on Solaris 9. + 2005-05-08 Richard Frith-Macdonald * Source/NSString.m: nul terminate properly when a returned 'C string' diff --git a/Source/NSPropertyList.m b/Source/NSPropertyList.m index 3bbc96caa..9fa071d3b 100644 --- a/Source/NSPropertyList.m +++ b/Source/NSPropertyList.m @@ -3055,7 +3055,11 @@ GSPropertyListMake(id obj, NSDictionary *loc, BOOL xml, } else if (index_size == 4) { +#ifdef UINT_MAX table_size = UINT_MAX; +#else + table_size = 256 * 256 * 256 * 256; +#endif } table = malloc(table_size * sizeof(int));