diff --git a/Source/GSXib5KeyedUnarchiver.m b/Source/GSXib5KeyedUnarchiver.m index 5b12320d88..d43580f1e7 100644 --- a/Source/GSXib5KeyedUnarchiver.m +++ b/Source/GSXib5KeyedUnarchiver.m @@ -247,7 +247,7 @@ - (void) establishConnection { NSWarnMLog(@"setting trigger %@ to selector %@", selName, label); //[destination setTarget: source]; // Not needed??? - [destination performSelector: trigsel withObject: sel]; + [destination performSelector: trigsel withObject: (id)sel]; } else if ((SEL)nil == sel) { diff --git a/Source/NSGraphicsContext.m b/Source/NSGraphicsContext.m index b4ab0009ce..b6567be00e 100644 --- a/Source/NSGraphicsContext.m +++ b/Source/NSGraphicsContext.m @@ -345,12 +345,12 @@ - (id) initWithContextInfo: (NSDictionary *)info * be protected from other threads. */ [contextLock lock]; - methods = [[classMethodTable objectForKey: [self class]] pointerValue]; + methods = [[classMethodTable objectForKey: (id)[self class]] pointerValue]; if (methods == 0) { methods = [[self class] _initializeMethodTable]; [classMethodTable setObject: [NSValue valueWithPointer: methods] - forKey: [self class]]; + forKey: (id)[self class]]; } [contextLock unlock]; }