summaryrefslogtreecommitdiff
path: root/src/bindings
diff options
context:
space:
mode:
Diffstat (limited to 'src/bindings')
-rw-r--r--src/bindings/luajit/eo.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bindings/luajit/eo.lua b/src/bindings/luajit/eo.lua
index 91c3034914..17765ac5cb 100644
--- a/src/bindings/luajit/eo.lua
+++ b/src/bindings/luajit/eo.lua
@@ -144,7 +144,7 @@ local eo_event_cb_fun = function(data, obj, desc, einfo)
144 local addr = eo_obj_addr_get(obj) 144 local addr = eo_obj_addr_get(obj)
145 local cbs = eo_callbacks[addr] 145 local cbs = eo_callbacks[addr]
146 assert(cbs) 146 assert(cbs)
147 local cidx = tonumber(ffi.cast("intptr_t", cbs)) 147 local cidx = tonumber(ffi.cast("intptr_t", data))
148 local fun = cbs[cidx] 148 local fun = cbs[cidx]
149 assert(fun) 149 assert(fun)
150 return fun() ~= false 150 return fun() ~= false