Yes, it's safe to use a cast; both are 8 bits. Alberto
Il 21/05/2012 15:01, Olumide ha scritto:
Hi, Is safe/legitimate to cast a const char* to XMLByte*? Or is there better way of performing this conversion? I'm trying to use SAX2XMLReader::parse(const InputSource& source) in order to parse from a MemBufInputSource which I would to initialize from (the c_str() method of) an std::string. Regards, - Olumide