mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 08:41:03 +00:00
avoid compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@28342 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
e069bb1b23
commit
6addb6b049
2 changed files with 8 additions and 3 deletions
|
@ -339,7 +339,7 @@ static NSDistributedNotificationCenter *netCenter = nil;
|
|||
NS_DURING
|
||||
{
|
||||
[self _connect];
|
||||
[(id<GDNCProtocol>)_remote addObserver: (uint64_t)anObserver
|
||||
[(id<GDNCProtocol>)_remote addObserver: (uint64_t)(uintptr_t)anObserver
|
||||
selector: NSStringFromSelector(aSelector)
|
||||
name: notificationName
|
||||
object: anObject
|
||||
|
@ -465,7 +465,7 @@ static NSDistributedNotificationCenter *netCenter = nil;
|
|||
NS_DURING
|
||||
{
|
||||
[self _connect];
|
||||
[(id<GDNCProtocol>)_remote removeObserver: (uint64_t)anObserver
|
||||
[(id<GDNCProtocol>)_remote removeObserver: (uint64_t)(uintptr_t)anObserver
|
||||
name: notificationName
|
||||
object: anObject
|
||||
for: (id<GDNCClient>)self];
|
||||
|
@ -808,7 +808,7 @@ static NSDistributedNotificationCenter *netCenter = nil;
|
|||
{
|
||||
id userInfo;
|
||||
NSNotification *notification;
|
||||
id recipient = (id)observer;
|
||||
id recipient = (id)(uintptr_t)observer;
|
||||
|
||||
userInfo = [NSUnarchiver unarchiveObjectWithData: info];
|
||||
notification = [NSNotification notificationWithName: name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue