mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Improvement on previous commit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@21201 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0249c23ea6
commit
66b59f7b4d
1 changed files with 4 additions and 4 deletions
|
@ -47,6 +47,10 @@
|
|||
#include "GSPrivate.h"
|
||||
extern BOOL GSScanDouble(unichar*, unsigned, double*);
|
||||
|
||||
#ifndef UINT_MAX
|
||||
# define UINT_MAX 4294967295U
|
||||
#endif
|
||||
|
||||
@class GSString;
|
||||
@class GSMutableString;
|
||||
@class GSMutableArray;
|
||||
|
@ -3055,11 +3059,7 @@ 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