summaryrefslogtreecommitdiff
path: root/src/lj_parse.c
diff options
context:
space:
mode:
authorMike Pall <mike>2012-07-03 13:19:32 +0200
committerMike Pall <mike>2012-07-03 13:19:32 +0200
commit17d3fc47f30f8d8e62231252ce41f4feba71aa2f (patch)
tree6134124f9357a0f4ca821556de644337491e4e0b /src/lj_parse.c
parentc740a302238cf650dd7fef6ebed8aeb878cf0c1d (diff)
downloadluajit-17d3fc47f30f8d8e62231252ce41f4feba71aa2f.tar.gz
luajit-17d3fc47f30f8d8e62231252ce41f4feba71aa2f.tar.bz2
luajit-17d3fc47f30f8d8e62231252ce41f4feba71aa2f.zip
Avoid pesky compiler warnings about C++ keywords (eh?).
Diffstat (limited to '')
-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;