diff options
author | Oliver Schneider <oliver@assarbad.net> | 2014-01-30 04:32:41 +0400 |
---|---|---|
committer | Oliver Schneider <oliver@assarbad.net> | 2014-01-30 04:32:41 +0400 |
commit | 96339717924e2730ff95fc787b6fb3f691631f0c (patch) | |
tree | 1fb26e77a79b5a8202cd1d0e2e26666138b23bfc /3rdparty | |
parent | 271858fd3be0b80a71dcfbbd048accc7c2901c94 (diff) |
- Fixing LuaJIT2 warning which I reported and which Mike fixed here in http://repo.or.cz/w/luajit-2.0.git/commitdiff/3db3cc10ff141c6908edd589ef80b7ebb71cf147
Diffstat (limited to '3rdparty')
-rw-r--r-- | 3rdparty/lua/src/lj_cconv.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/3rdparty/lua/src/lj_cconv.h b/3rdparty/lua/src/lj_cconv.h index 5e95d2e..5c7a819 100644 --- a/3rdparty/lua/src/lj_cconv.h +++ b/3rdparty/lua/src/lj_cconv.h @@ -29,7 +29,7 @@ static LJ_AINLINE uint32_t cconv_idx(CTInfo info) uint32_t idx = ((info >> 26) & 15u); /* Dispatch bits. */ lua_assert(ctype_type(info) <= CT_MAYCONVERT); #if LJ_64 - idx = ((U64x(f436fff5,fff7f021) >> 4*idx) & 15u); + idx = ((uint32_t)(U64x(f436fff5,fff7f021) >> 4*idx) & 15u); #else idx = (((idx < 8 ? 0xfff7f021u : 0xf436fff5) >> 4*(idx & 7u)) & 15u); #endif |