From 185a4334ca40a2458ad50a365dba7b847d9288b6 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Tue, 21 Oct 2014 00:40:33 -0400 Subject: [PATCH] Fix a compilation warning --- Limelight/HttpManager.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Limelight/HttpManager.m b/Limelight/HttpManager.m index a2768bd..2ac68e9 100644 --- a/Limelight/HttpManager.m +++ b/Limelight/HttpManager.m @@ -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.");