aboutsummaryrefslogtreecommitdiff
path: root/src/lj_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lj_parse.c')
-rw-r--r--src/lj_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_parse.c b/src/lj_parse.c
index 170801ed..2cbfbe56 100644
--- a/src/lj_parse.c
+++ b/src/lj_parse.c
@@ -938,7 +938,7 @@ static void bcemit_unop(FuncState *fs, BCOp op, ExpDesc *e)
938 if (e->k == VKCDATA) { /* Fold in-place since cdata is not interned. */ 938 if (e->k == VKCDATA) { /* Fold in-place since cdata is not interned. */
939 GCcdata *cd = cdataV(&e->u.nval); 939 GCcdata *cd = cdataV(&e->u.nval);
940 int64_t *p = (int64_t *)cdataptr(cd); 940 int64_t *p = (int64_t *)cdataptr(cd);
941 if (cd->typeid == CTID_COMPLEX_DOUBLE) 941 if (cd->ctypeid == CTID_COMPLEX_DOUBLE)
942 p[1] ^= (int64_t)U64x(80000000,00000000); 942 p[1] ^= (int64_t)U64x(80000000,00000000);
943 else 943 else
944 *p = -*p; 944 *p = -*p;