mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 16:50:58 +00:00
Fixed coding/decoding error.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@3101 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4568fd4427
commit
07fa579ca3
1 changed files with 2 additions and 3 deletions
|
@ -651,13 +651,12 @@ stringDecrementCountAndFillHoleAt(NSGMutableCStringStruct *self,
|
||||||
{
|
{
|
||||||
unsigned cap;
|
unsigned cap;
|
||||||
|
|
||||||
[aCoder decodeValueOfObjCType:@encode(unsigned) at:&cap withName:NULL];
|
[aCoder decodeValueOfObjCType:@encode(unsigned) at:&cap];
|
||||||
[self initWithCapacity:cap];
|
[self initWithCapacity:cap];
|
||||||
_count = cap;
|
_count = cap;
|
||||||
[aCoder decodeArrayOfObjCType:@encode(unsigned char)
|
[aCoder decodeArrayOfObjCType:@encode(unsigned char)
|
||||||
count:_count
|
count:_count
|
||||||
at:_contents_chars
|
at:_contents_chars];
|
||||||
withName:NULL];
|
|
||||||
return self;
|
return self;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue