https://src.bluestatic.org
/
macgdbp.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6cd0d2a
)
Proper types in NSXMLElementAdditions.m
author
Robert Sesek <rsesek@bluestatic.org>
Tue, 11 Jan 2011 02:37:14 +0000
(21:37 -0500)
committer
Robert Sesek <rsesek@bluestatic.org>
Tue, 11 Jan 2011 02:37:14 +0000
(21:37 -0500)
Source/NSXMLElementAdditions.m
patch
|
blob
|
history
diff --git
a/Source/NSXMLElementAdditions.m
b/Source/NSXMLElementAdditions.m
index ce5f213761338e85aff44c2a692888314ae50891..070e18ea8f524b812b4646a7a2fb2af2ff0ae2c7 100644
(file)
--- a/
Source/NSXMLElementAdditions.m
+++ b/
Source/NSXMLElementAdditions.m
@@
-43,7
+43,7
@@
// The value of the node is base64 encoded.
if ([[[self attributeForName:@"encoding"] stringValue] isEqualToString:@"base64"]) {
const char* src = [[self stringValue] UTF8String];
-
int
srclen = [[self stringValue] length];
+
NSUInteger
srclen = [[self stringValue] length];
int destlen = modp_b64_decode_len(srclen);
char* dest = malloc(destlen);