diff options
author | Mike Pall <mike> | 2009-12-29 20:19:54 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2009-12-29 20:19:54 +0100 |
commit | 52eb88773e88464cb5cc69b485d742468f66f2a2 (patch) | |
tree | b308e25d1e11e95e8afb8a98358a20bff9737a0a /src/lib_base.c | |
parent | d64b031269e0a84af720dfd701e54109af7019f4 (diff) | |
download | luajit-52eb88773e88464cb5cc69b485d742468f66f2a2.tar.gz luajit-52eb88773e88464cb5cc69b485d742468f66f2a2.tar.bz2 luajit-52eb88773e88464cb5cc69b485d742468f66f2a2.zip |
Fix narrowing casts of pointer differences for x64.
Diffstat (limited to 'src/lib_base.c')
-rw-r--r-- | src/lib_base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib_base.c b/src/lib_base.c index 34282cfc..d9b953ee 100644 --- a/src/lib_base.c +++ b/src/lib_base.c | |||
@@ -337,7 +337,7 @@ LJLIB_CF(dofile) | |||
337 | if (luaL_loadfile(L, fname ? strdata(fname) : NULL) != 0) | 337 | if (luaL_loadfile(L, fname ? strdata(fname) : NULL) != 0) |
338 | lua_error(L); | 338 | lua_error(L); |
339 | lua_call(L, 0, LUA_MULTRET); | 339 | lua_call(L, 0, LUA_MULTRET); |
340 | return (L->top - L->base) - 1; | 340 | return cast_int(L->top - L->base) - 1; |
341 | } | 341 | } |
342 | 342 | ||
343 | /* -- Base library: GC control -------------------------------------------- */ | 343 | /* -- Base library: GC control -------------------------------------------- */ |