mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
Corrected compilation problem on Solaris 9.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21200 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
efd0cf202c
commit
0249c23ea6
2 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-05-08 14:11 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Source/NSPropertyList.m: Corrected setup so that compilation
|
||||
works on Solaris 9.
|
||||
|
||||
2005-05-08 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/NSString.m: nul terminate properly when a returned 'C string'
|
||||
|
|
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue