Commit a675effc authored by fallenstardust's avatar fallenstardust

同步修改 android tool的unsigned char*

parent 3876300f
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
namespace irr { namespace irr {
namespace android { namespace android {
inline static void ReadString(irr::io::path &path, char*& p) { inline static void ReadString(irr::io::path &path, unsigned char*& p) {
int length = BufferIO::ReadInt32(p); int length = BufferIO::ReadInt32(p);
if (length != 0) { if (length != 0) {
path.append(p, length); path.append(p, length);
...@@ -20,7 +20,7 @@ inline static void ReadString(irr::io::path &path, char*& p) { ...@@ -20,7 +20,7 @@ inline static void ReadString(irr::io::path &path, char*& p) {
InitOptions::InitOptions(void*data) : InitOptions::InitOptions(void*data) :
m_opengles_version(0), m_card_quality(0), m_font_aa_enabled(TRUE) { m_opengles_version(0), m_card_quality(0), m_font_aa_enabled(TRUE) {
if (data != NULL) { if (data != NULL) {
char* rawdata = (char*)data; unsigned char* rawdata = (unsigned char*)data;
int tmplength = 0; int tmplength = 0;
m_opengles_version = BufferIO::ReadInt32(rawdata); m_opengles_version = BufferIO::ReadInt32(rawdata);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment