mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Fix for NSRange forwarding on 64bit systems
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@30195 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0e1b264dd9
commit
7ca7f7318a
2 changed files with 10 additions and 2 deletions
|
@ -1,3 +1,9 @@
|
|||
2010-04-19 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
* Source/cifframe.m (cifframe_type): Fix the cached information
|
||||
for the NSRange type. Was causing incorrect forwarding of NSRange
|
||||
arguments on 64bit systems.
|
||||
|
||||
2010-04-18 Nicola Pero <nicola.pero@meta-innovation.com>
|
||||
|
||||
Fixed inefficiencies in building the SSL bundle.
|
||||
|
|
|
@ -353,12 +353,14 @@ cifframe_type(const char *typePtr, const char **advance)
|
|||
|
||||
if (stype.type == 0)
|
||||
{
|
||||
if (*typePtr == _C_ULNG)
|
||||
const char *t = @encode(NSUInteger);
|
||||
|
||||
if (*t == _C_ULNG)
|
||||
{
|
||||
elems[0] = &gsffi_type_ulong;
|
||||
}
|
||||
#ifdef _C_LNG_LNG
|
||||
else if (*typePtr == _C_ULNG_LNG)
|
||||
else if (*t == _C_ULNG_LNG)
|
||||
{
|
||||
elems[0] = &gsffi_type_ulong_long;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue