aboutsummaryrefslogtreecommitdiff
path: root/lstring.c
diff options
context:
space:
mode:
Diffstat (limited to 'lstring.c')
-rw-r--r--lstring.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lstring.c b/lstring.c
index 0c89a51b..b5c8f89f 100644
--- a/lstring.c
+++ b/lstring.c
@@ -329,7 +329,7 @@ TString *luaS_newextlstr (lua_State *L,
329 if (!falloc) 329 if (!falloc)
330 f_pintern(L, &ne); /* just internalize string */ 330 f_pintern(L, &ne); /* just internalize string */
331 else { 331 else {
332 int status = luaD_rawrunprotected(L, f_pintern, &ne); 332 TStatus status = luaD_rawrunprotected(L, f_pintern, &ne);
333 (*falloc)(ud, cast_voidp(s), len + 1, 0); /* free external string */ 333 (*falloc)(ud, cast_voidp(s), len + 1, 0); /* free external string */
334 if (status != LUA_OK) /* memory error? */ 334 if (status != LUA_OK) /* memory error? */
335 luaM_error(L); /* re-raise memory error */ 335 luaM_error(L); /* re-raise memory error */