|
@@ -64,7 +64,7 @@ LJLIB_ASM(string_byte) LJLIB_REC(string_range 0)
|
|
LJLIB_ASM(string_char)
|
|
LJLIB_ASM(string_char)
|
|
{
|
|
{
|
|
int i, nargs = (int)(L->top - L->base);
|
|
int i, nargs = (int)(L->top - L->base);
|
|
- char *buf = lj_str_needbuf(L, &G(L)->tmpbuf, (size_t)nargs);
|
|
|
|
|
|
+ char *buf = lj_str_needbuf(L, &G(L)->tmpbuf, (MSize)nargs);
|
|
for (i = 1; i <= nargs; i++) {
|
|
for (i = 1; i <= nargs; i++) {
|
|
int32_t k = lj_lib_checkint(L, i);
|
|
int32_t k = lj_lib_checkint(L, i);
|
|
if (!checku8(k))
|
|
if (!checku8(k))
|