Tidyups to avoid compiler warnings.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@20863 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-Macdonald 2005-03-07 11:19:34 +00:00
parent 7dd02e80e3
commit fd7d6e36b0
7 changed files with 25 additions and 23 deletions

View file

@ -28,6 +28,7 @@
#include "config.h"
#include "GNUstepBase/preface.h"
#include "GNUstepBase/DistributedObjects.h"
#include "GNUstepBase/GSObjCRuntime.h"
#include "Foundation/NSDebug.h"
#include "Foundation/NSLock.h"
#include "Foundation/NSPort.h"
@ -148,7 +149,7 @@ enum proxyLocation
+ (void) initialize
{
if (self == [GSDistantObjectPlaceHolder class])
if (self == GSClassFromName("GSDistantObjectPlaceHolder"))
{
distantObjectClass = [NSDistantObject class];
}
@ -392,7 +393,7 @@ enum proxyLocation
{
if (self == [NSDistantObject class])
{
placeHolder = [GSDistantObjectPlaceHolder class];
placeHolder = GSClassFromName("GSDistantObjectPlaceHolder");
}
}