mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
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:
parent
17d379a59a
commit
bf6898262b
2 changed files with 5 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue