mirror of
https://github.com/opentx/opentx.git
synced 2025-07-16 04:45:17 +03:00
Fixes #1839: Companion simulator Lua crash on Mac
This commit is contained in:
parent
b84799e845
commit
89a855380d
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ luaR_result luaR_findglobal(const char *name, lu_byte *ptype) {
|
|||
return i+1;
|
||||
}
|
||||
if (!strncmp(lua_rotable[i].name, "__", 2)) {
|
||||
int result = luaR_findentry((void *)(size_t)(i+1), name, ptype);
|
||||
luaR_result result = luaR_findentry((void *)(size_t)(i+1), name, ptype);
|
||||
if (result != 0) {
|
||||
return result;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue