diff options
author | Benoit Germain <bnt.germain@gmail.com> | 2013-11-26 11:21:47 +0100 |
---|---|---|
committer | Benoit Germain <bnt.germain@gmail.com> | 2013-11-26 11:21:47 +0100 |
commit | 8fc1588ac0cea605ccec29efd7acac0e0aa50945 (patch) | |
tree | 9b4090ee2e978b8e2a3d87237d8f221d859fccb6 /src | |
parent | eacd92b3c640fa32d78269204db8ad0be8de85f6 (diff) | |
download | lanes-8fc1588ac0cea605ccec29efd7acac0e0aa50945.tar.gz lanes-8fc1588ac0cea605ccec29efd7acac0e0aa50945.tar.bz2 lanes-8fc1588ac0cea605ccec29efd7acac0e0aa50945.zip |
Fix a 64 bits compilation warning
Diffstat (limited to 'src')
-rw-r--r-- | src/lanes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lanes.c b/src/lanes.c index 41b097c..53ed5e4 100644 --- a/src/lanes.c +++ b/src/lanes.c | |||
@@ -1122,7 +1122,7 @@ static int run_finalizers( lua_State* L, int lua_rc) | |||
1122 | #endif // ERROR_FULL_STACK | 1122 | #endif // ERROR_FULL_STACK |
1123 | error_index = (lua_rc != LUA_OK) ? finalizers_index - (1 + ERROR_FULL_STACK) : 0; | 1123 | error_index = (lua_rc != LUA_OK) ? finalizers_index - (1 + ERROR_FULL_STACK) : 0; |
1124 | 1124 | ||
1125 | for( n = lua_rawlen( L, finalizers_index); n > 0; -- n) | 1125 | for( n = (int) lua_rawlen( L, finalizers_index); n > 0; -- n) |
1126 | { | 1126 | { |
1127 | int args = 0; | 1127 | int args = 0; |
1128 | lua_pushinteger( L, n); // [err_msg {stack_trace}]? {func [, ...]}? lane_error n | 1128 | lua_pushinteger( L, n); // [err_msg {stack_trace}]? {func [, ...]}? lane_error n |