Fix build on macOS and Android after bc2e8d99

This commit is contained in:
Rémi Verschelde 2017-11-25 10:42:20 +01:00
parent faf5ac8d54
commit d9faf6f2f4
2 changed files with 2 additions and 2 deletions

View file

@ -59,7 +59,7 @@ bool JavaClass::_call_method(JavaObject *p_instance, const StringName &p_method,
r_error.argument = pc;
continue;
}
uint32_t *ptypes = E->get().param_types.ptr();
uint32_t *ptypes = E->get().param_types.ptrw();
bool valid = true;
for (int i = 0; i < pc; i++) {