Fix a bug writing base64 data to a plist

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@38973 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Niels Grewe 2015-09-08 07:13:54 +00:00
parent 17d379a59a
commit bf6898262b
2 changed files with 5 additions and 1 deletions

View file

@ -1487,7 +1487,7 @@ encodeBase64(NSData *source, NSMutableData *dest)
[dest setLength: base + destlen];
GSPrivateEncodeBase64((const uint8_t*)[source bytes],
length, (uint8_t*)[dest mutableBytes]);
length, (uint8_t*)[dest mutableBytes] + base);
}
}