openbsd-ports/x11/gnustep/base/patches/patch-Source_NSConnection_m
sebastia 9922255d96 Update gnustep-base to 1.24.0
cleaning up the Makefile
Major SHLIB bump
get rid of a bunch of patches

aja needs that to go ahead with gnutls update
2012-07-08 13:22:54 +00:00

25 lines
795 B
Plaintext

$OpenBSD: patch-Source_NSConnection_m,v 1.3 2012/07/08 13:22:54 sebastia Exp $
64Bit fixes comparisons to NSNotFound
--- Source/NSConnection.m.orig Mon Jan 30 12:31:40 2012
+++ Source/NSConnection.m Mon Apr 9 14:42:01 2012
@@ -1583,7 +1583,7 @@ static NSLock *cached_proxies_gate = nil;
GS_M_LOCK(IrefGate);
if (IrunLoops != nil)
{
- unsigned pos = [IrunLoops indexOfObjectIdenticalTo: loop];
+ NSUInteger pos = [IrunLoops indexOfObjectIdenticalTo: loop];
if (pos != NSNotFound)
{
@@ -2499,7 +2499,7 @@ static NSLock *cached_proxies_gate = nil;
NSPortCoder *decoder = nil;
NSPortCoder *encoder = nil;
NSInvocation *inv = nil;
- unsigned seq;
+ unsigned seq = 0;
/* Save this for later */
[aRmc decodeValueOfObjCType: @encode(int) at: &seq];