From 07fa579ca3b3c921ef2634c6f39fa13f8eaf8b53 Mon Sep 17 00:00:00 2001 From: richard Date: Thu, 22 Oct 1998 10:03:52 +0000 Subject: [PATCH] Fixed coding/decoding error. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3101 72102866-910b-0410-8b05-ffd578937521 --- Source/NSGCString.m | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Source/NSGCString.m b/Source/NSGCString.m index f67782904..690b445fb 100644 --- a/Source/NSGCString.m +++ b/Source/NSGCString.m @@ -651,13 +651,12 @@ stringDecrementCountAndFillHoleAt(NSGMutableCStringStruct *self, { unsigned cap; - [aCoder decodeValueOfObjCType:@encode(unsigned) at:&cap withName:NULL]; + [aCoder decodeValueOfObjCType:@encode(unsigned) at:&cap]; [self initWithCapacity:cap]; _count = cap; [aCoder decodeArrayOfObjCType:@encode(unsigned char) count:_count - at:_contents_chars - withName:NULL]; + at:_contents_chars]; return self; }