aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lj_bcwrite.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_bcwrite.c b/src/lj_bcwrite.c
index d5e10ab2..ec6f13c8 100644
--- a/src/lj_bcwrite.c
+++ b/src/lj_bcwrite.c
@@ -186,7 +186,7 @@ static void bcwrite_ktab(BCWriteCtx *ctx, char *p, const GCtab *t)
186 } else { 186 } else {
187 MSize i = nhash; 187 MSize i = nhash;
188 for (;; node--) 188 for (;; node--)
189 if (!tvisnil(&node->key)) { 189 if (!tvisnil(&node->val)) {
190 bcwrite_ktabk(ctx, &node->key, 0); 190 bcwrite_ktabk(ctx, &node->key, 0);
191 bcwrite_ktabk(ctx, &node->val, 1); 191 bcwrite_ktabk(ctx, &node->val, 1);
192 if (--i == 0) break; 192 if (--i == 0) break;