Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/threads-ffi.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/queue.c')
-rw-r--r--lib/queue.c2
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;
}