Silence 64 bit conversion warning.

This commit is contained in:
Mike Pall 2010-01-17 20:36:04 +01:00
parent 09ca54d9bc
commit 09548024d1

View File

@ -268,7 +268,7 @@ const char *lj_str_pushvf(lua_State *L, const char *fmt, va_list argp)
buff[1] = 'x'; buff[1] = 'x';
for (i = lasti-1; i >= 2; i--, p >>= 4) for (i = lasti-1; i >= 2; i--, p >>= 4)
buff[i] = "0123456789abcdef"[(p & 15)]; buff[i] = "0123456789abcdef"[(p & 15)];
addstr(L, sb, buff, lasti); addstr(L, sb, buff, (MSize)lasti);
break; break;
} }
case '%': case '%':