From 6fb4cc14b1df55c4dd7ed3c39510ac9c32e14fc3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Peter=20K=FCmmel?= Date: Sun, 20 Dec 2009 18:41:45 +0100 Subject: [PATCH] no uint with msvc --- common/lqt_common.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/lqt_common.cpp b/common/lqt_common.cpp index a81eee4..7683ff8 100644 --- a/common/lqt_common.cpp +++ b/common/lqt_common.cpp @@ -608,12 +608,12 @@ void lqtL_pushflags (lua_State *L, int value, const char *name) { } int lqtL_touintarray (lua_State *L) { - uint *p = NULL; + unsigned int *p = NULL; size_t i = 0; size_t n, nb; n = lua_objlen(L, -1); - nb = (n + 1) * sizeof(uint); - p = (uint*)lua_newuserdata(L, nb); + nb = (n + 1) * sizeof(unsigned int ); + p = (unsigned int *)lua_newuserdata(L, nb); for (i=1;i<=n;i++) { lua_rawgeti(L, -2, i); p[i-1] = lua_tointeger(L, -1); -- 2.11.4.GIT