Commit eca92fe7 authored by 神楽坂玲奈's avatar 神楽坂玲奈

fix

parent 10f02c63
...@@ -173,9 +173,9 @@ void interpreter::add_param(void *param, int32 type, bool front) { ...@@ -173,9 +173,9 @@ void interpreter::add_param(void *param, int32 type, bool front) {
} }
void interpreter::add_param(int32 param, int32 type, bool front) { void interpreter::add_param(int32 param, int32 type, bool front) {
if(front) if(front)
params.emplace_front((size_t)param, type); params.emplace_front((void*)param, type);
else else
params.emplace_back((size_t)param, type); params.emplace_back((void*)param, type);
} }
void interpreter::push_param(lua_State* L, bool is_coroutine) { void interpreter::push_param(lua_State* L, bool is_coroutine) {
int32 pushed = 0; int32 pushed = 0;
......
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