mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
avoid compiler warnings
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29258 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2d20ebc621
commit
863022859d
1 changed files with 6 additions and 1 deletions
|
@ -671,7 +671,7 @@ NSDeallocateObject(NSObject *anObject)
|
||||||
void
|
void
|
||||||
GSPrivateSwizzle(id o, Class c)
|
GSPrivateSwizzle(id o, Class c)
|
||||||
{
|
{
|
||||||
if (o->class_pointer != c)
|
if ((Class)o->class_pointer != c)
|
||||||
{
|
{
|
||||||
#if GS_WITH_GC
|
#if GS_WITH_GC
|
||||||
/* We only do allocation counting for objects that can be
|
/* We only do allocation counting for objects that can be
|
||||||
|
@ -2469,6 +2469,11 @@ objc_create_block_classes_as_subclasses_of(Class super) __attribute__((weak));
|
||||||
|
|
||||||
|
|
||||||
@implementation NSZombie
|
@implementation NSZombie
|
||||||
|
- (Class) class
|
||||||
|
{
|
||||||
|
GSLogZombie(self, @selector(class));
|
||||||
|
return (Class)0;
|
||||||
|
}
|
||||||
- (Class) originalClass
|
- (Class) originalClass
|
||||||
{
|
{
|
||||||
return NSMapGet(zombieMap, (void*)self);
|
return NSMapGet(zombieMap, (void*)self);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue