Changeset

7936:582bfb39337f

Backed out changeset a3a4ed0d34f4 C99 is ok
author Kim Alvefur <zash@zash.se>
date Thu, 02 Mar 2017 00:46:32 +0100
parents 7935:96fa5ef5d613
children 7937:5b03a8003659
files util-src/table.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/util-src/table.c	Thu Mar 02 00:27:46 2017 +0100
+++ b/util-src/table.c	Thu Mar 02 00:46:32 2017 +0100
@@ -7,12 +7,11 @@
 }
 
 static int Lpack(lua_State *L) {
-	int arg;
 	unsigned int n_args = lua_gettop(L);
 	lua_createtable(L, n_args, 1);
 	lua_insert(L, 1);
 
-	for(arg = n_args; arg >= 1; arg--) {
+	for(int arg = n_args; arg >= 1; arg--) {
 		lua_rawseti(L, 1, arg);
 	}