Fix a compilation warning

This commit is contained in:
Cameron Gutman 2014-10-21 00:40:33 -04:00
parent 6b10497e3e
commit 185a4334ca

View File

@ -26,7 +26,7 @@
static const NSString* PORT = @"47984";
+ (NSString*) getStringFromXML:(NSData*)xml tag:(NSString*)tag {
xmlDocPtr docPtr = xmlParseMemory([xml bytes], [xml length]);
xmlDocPtr docPtr = xmlParseMemory([xml bytes], (int)[xml length]);
if (docPtr == NULL) {
NSLog(@"ERROR: An error occured trying to parse xml.");