Fix parsing rare GFE status code of 0xFFFFFFFF

This commit is contained in:
Cameron Gutman committed 2020-04-23 20:07:52 -07:00
1 parent b3a666af8e
commit f49a908dc0
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -55,7 +55,7 @@
xmlChar* statusStr = xmlGetProp(node, (const xmlChar*)[TAG_STATUS_CODE UTF8String]);
if (statusStr != NULL) {
int status = [[NSString stringWithUTF8String:(const char*)statusStr] intValue];
int status = (int)[[NSString stringWithUTF8String:(const char*)statusStr] longLongValue];
xmlFree(statusStr);
self.statusCode = status;
}