aboutsummaryrefslogtreecommitdiff
path: root/lauxlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lauxlib.c')
-rw-r--r--lauxlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lauxlib.c b/lauxlib.c
index f2ba704f..e6d74168 100644
--- a/lauxlib.c
+++ b/lauxlib.c
@@ -476,7 +476,7 @@ static void *resizebox (lua_State *L, int idx, size_t newsize) {
476 UBox *box = (UBox *)lua_touserdata(L, idx); 476 UBox *box = (UBox *)lua_touserdata(L, idx);
477 void *temp = allocf(ud, box->box, box->bsize, newsize); 477 void *temp = allocf(ud, box->box, box->bsize, newsize);
478 if (temp == NULL && newsize > 0) /* allocation error? */ 478 if (temp == NULL && newsize > 0) /* allocation error? */
479 luaL_error(L, "not enough memory for buffer allocation"); 479 luaL_error(L, "not enough memory");
480 box->box = temp; 480 box->box = temp;
481 box->bsize = newsize; 481 box->bsize = newsize;
482 return temp; 482 return temp;