Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added cast to suppress warning.

* Jasper Blues reported.
  • Loading branch information...
commit 216116186984df372119f5a009c512fae95b82e2 1 parent 739729e
John Blanco authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  RaptureXML/RXMLElement.m
2  RaptureXML/RXMLElement.m
View
@@ -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]) {
Please sign in to comment.
Something went wrong with that request. Please try again.