mirror of https://github.com/axmolengine/axmol.git
Update CCLuaStack.cpp
This commit is contained in:
parent
90434e58d0
commit
ba55723178
|
@ -868,7 +868,7 @@ int LuaStack::luaLoadBuffer(lua_State *L, const char *chunk, int chunkSize, cons
|
|||
(unsigned char*)_xxteaKey,
|
||||
(xxtea_long)_xxteaKeyLen,
|
||||
&len);
|
||||
skipBOM((char*&)result, (int&)len);
|
||||
skipBOM((const char*&)result, (int&)len);
|
||||
r = luaL_loadbuffer(L, (char*)result, len, chunkName);
|
||||
free(result);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue