mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Encode archive version as number
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@18983 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2a4a64c73e
commit
a207d98243
2 changed files with 6 additions and 1 deletions
|
@ -745,7 +745,7 @@ static NSDictionary *makeReference(unsigned ref)
|
|||
|
||||
final = [NSMutableDictionary new];
|
||||
[final setObject: NSStringFromClass([self class]) forKey: @"$archiver"];
|
||||
[final setObject: @"100000" forKey: @"$version"];
|
||||
[final setObject: [NSNumber numberWithInt: 100000] forKey: @"$version"];
|
||||
[final setObject: _enc forKey: @"$top"];
|
||||
[final setObject: _obj forKey: @"$objects"];
|
||||
data = [NSPropertyListSerialization dataFromPropertyList: final
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue