diff options
Diffstat (limited to 'lib/queue.c')
-rw-r--r-- | lib/queue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/queue.c b/lib/queue.c index a25586c..cd805aa 100644 --- a/lib/queue.c +++ b/lib/queue.c @@ -320,7 +320,7 @@ static int queue__newindex(lua_State *L) static int queue_id(lua_State *L) { THQueue *queue = luaTHRD_checkudata(L, 1, "threads.Queue"); - lua_pushinteger(L, (long)queue); + lua_pushinteger(L, (AddressType)queue); return 1; } |