mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +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
04bfaf2fb5
commit
fe82bf08d5
2 changed files with 9 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue