diff options
Diffstat (limited to 'src/if_lua.c')
-rw-r--r-- | src/if_lua.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/if_lua.c b/src/if_lua.c index 45f233fdec..6559550815 100644 --- a/src/if_lua.c +++ b/src/if_lua.c @@ -2776,11 +2776,11 @@ luaV_call_lua_func( if (lua_pcall(funcstate->L, luaargcount, 1, 0)) { luaV_emsg(funcstate->L); - return FCERR_OTHER; + return (int)FCERR_OTHER; } luaV_checktypval(funcstate->L, -1, rettv, "get return value"); - return FCERR_NONE; + return (int)FCERR_NONE; } /* |