commit | 9ee0d04770a96dcad77b457628a2130862976908 | [log] [tgz] |
---|---|---|
author | Aurelien DARRAGON <adarragon@haproxy.com> | Mon Mar 20 18:36:08 2023 +0100 |
committer | Christopher Faulet <cfaulet@haproxy.com> | Wed Apr 05 08:58:17 2023 +0200 |
tree | 6144a9374871e2944e1071b312ece7f4362ea8fc | |
parent | f8f8a2b872d10bb5fdedf2c92aed3013649e0e19 [diff] |
MINOR: hlua: fix return type for hlua_checkfunction() and hlua_checktable() hlua_checktable() and hlua_checkfunction() both return the raw value of luaL_ref() function call. As luaL_ref() returns a signed int, both functions should return a signed int as well to prevent any misuse of the returned reference value.