objective c - xmlNewCDataBlock implicit conversion to int -


i'm parsing xml via libxml2 library. after updating xcode 5.1, got warning last parameter - length - implicitly converted int, while it's unsigned long. here's function declaration:

xmlpubfun xmlnodeptr xmlcall     xmlnewcdatablock(xmldocptr doc,                      const xmlchar *content,                      int len); 

is there similar function takes unsigned long values, because don't know how big data can be, , want process safely.

there's no such function. libxml2's string manipulation functions use ints string lengths , offsets, text nodes longer int_max not supported.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

How to get multiresult with multicondition in Sql Server -