Index: trunk/src/lua/lua_handle.cc
===================================================================
--- trunk/src/lua/lua_handle.cc	(revision 361)
+++ trunk/src/lua/lua_handle.cc	(revision 364)
@@ -15,5 +15,5 @@
 	NV_LUA_STACK_ASSERT( L, +1 );
 	lua_rawgeti( L, LUA_REGISTRYINDEX, pseudoindex ); // table
-	lua_rawgeti( L, -1, index );                      // table, entry
+	lua_rawgeti( L, -1, (int)index );                 // table, entry
 	if ( !lua_istable( L, -1 ) )
 	{
@@ -57,5 +57,5 @@
 	lua_rawgeti( L, LUA_REGISTRYINDEX, pseudoindex );
 	lua_insert( L, -2 );
-	lua_rawseti( L, -2, index );
+	lua_rawseti( L, -2, (int)index );
 	lua_pop( L, 1 );
 }
@@ -66,5 +66,5 @@
 	lua_rawgeti( L, LUA_REGISTRYINDEX, pseudoindex ); // table
 	lua_pushinteger( L, 0 );
-	lua_rawseti( L, -2, index );
+	lua_rawseti( L, -2, (int)index );
 	lua_pop( L, 1 );
 }
