Fix errors in backwards compatibility code

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@8044 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 2000-11-06 15:35:08 +00:00
parent 324f4f6778
commit 9c6d161077

View file

@ -2928,7 +2928,7 @@ transmute(ivars self, NSString *aString)
unsigned count;
RELEASE(self);
self = [GSCString alloc];
self = (id)NSAllocateObject(GSCStringClass, 0, GSObjCZone(self));
[aCoder decodeValueOfObjCType: @encode(unsigned) at: &count];
if (count > 0)
{
@ -2958,7 +2958,7 @@ transmute(ivars self, NSString *aString)
unsigned count;
RELEASE(self);
self = [GSMutableString alloc];
self = (id)NSAllocateObject(GSMutableStringClass, 0, GSObjCZone(self));
[aCoder decodeValueOfObjCType: @encode(unsigned) at: &count];
if (count > 0)
{
@ -2988,7 +2988,7 @@ transmute(ivars self, NSString *aString)
unsigned count;
RELEASE(self);
self = [GSUnicodeString alloc];
self = (id)NSAllocateObject(GSUnicodeStringClass, 0, GSObjCZone(self));
[aCoder decodeValueOfObjCType: @encode(unsigned) at: &count];
if (count > 0)
{
@ -3018,7 +3018,7 @@ transmute(ivars self, NSString *aString)
unsigned count;
RELEASE(self);
self = [GSMutableString alloc];
self = (id)NSAllocateObject(GSMutableStringClass, 0, GSObjCZone(self));
[aCoder decodeValueOfObjCType: @encode(unsigned) at: &count];
if (count > 0)
{