Permalink
Browse files

Added cast to suppress warning.

* Jasper Blues reported.
  • Loading branch information...
1 parent 739729e commit 216116186984df372119f5a009c512fae95b82e2 John Blanco committed Mar 7, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 RaptureXML/RXMLElement.m
View
2 RaptureXML/RXMLElement.m
@@ -78,7 +78,7 @@ - (id)initFromURL:(NSURL *)url {
- (id)initFromXMLData:(NSData *)data {
if ((self = [super init])) {
- xmlDocPtr doc = xmlReadMemory([data bytes], [data length], "", nil, XML_PARSE_RECOVER);
+ xmlDocPtr doc = xmlReadMemory([data bytes], (int)[data length], "", nil, XML_PARSE_RECOVER);
self.xmlDoc = [[RXMLDocHolder alloc] initWithDocPtr:doc];
if ([self isValid]) {

0 comments on commit 2161161

Please sign in to comment.