summaryrefslogtreecommitdiff
path: root/src/lj_str.c
diff options
context:
space:
mode:
authorMike Pall <mike>2011-03-10 02:13:43 +0100
committerMike Pall <mike>2011-03-10 02:13:43 +0100
commit889368e921a11e2abb3769e2c1f395174e83112d (patch)
treea0280bec2142380ce13b1afc2d8e17fcd65e29e9 /src/lj_str.c
parentbfce3c1127fd57fe0c935c92bcf45b4737041edd (diff)
downloadluajit-889368e921a11e2abb3769e2c1f395174e83112d.tar.gz
luajit-889368e921a11e2abb3769e2c1f395174e83112d.tar.bz2
luajit-889368e921a11e2abb3769e2c1f395174e83112d.zip
Get rid of the remaining silly cast macros from Lua.
Diffstat (limited to 'src/lj_str.c')
-rw-r--r--src/lj_str.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_str.c b/src/lj_str.c
index febe6fbf..9e9650a2 100644
--- a/src/lj_str.c
+++ b/src/lj_str.c
@@ -316,7 +316,7 @@ static void addchar(lua_State *L, SBuf *sb, int c)
316 MSize sz = sb->sz * 2; 316 MSize sz = sb->sz * 2;
317 lj_str_resizebuf(L, sb, sz); 317 lj_str_resizebuf(L, sb, sz);
318 } 318 }
319 sb->buf[sb->n++] = cast(char, c); 319 sb->buf[sb->n++] = (char)c;
320} 320}
321 321
322/* Push formatted message as a string object to Lua stack. va_list variant. */ 322/* Push formatted message as a string object to Lua stack. va_list variant. */