aboutsummaryrefslogtreecommitdiff
path: root/lmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'lmem.c')
-rw-r--r--lmem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lmem.c b/lmem.c
index b1d646a5..65bfa524 100644
--- a/lmem.c
+++ b/lmem.c
@@ -26,7 +26,7 @@
26/* 26/*
27** First allocation will fail whenever not building initial state 27** First allocation will fail whenever not building initial state
28** and not shrinking a block. (This fail will trigger 'tryagain' and 28** and not shrinking a block. (This fail will trigger 'tryagain' and
29** a full GC cycle at every alocation.) 29** a full GC cycle at every allocation.)
30*/ 30*/
31static void *firsttry (global_State *g, void *block, size_t os, size_t ns) { 31static void *firsttry (global_State *g, void *block, size_t os, size_t ns) {
32 if (ttisnil(&g->nilvalue) && ns > os) 32 if (ttisnil(&g->nilvalue) && ns > os)