aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/bif.c
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2015-03-25 10:35:55 +0100
committerBjörn-Egil Dahlberg <[email protected]>2015-03-25 10:35:55 +0100
commitdcf096a77d94a16d46ae553263f9dcd3be5a884b (patch)
treef160b6673a419243208c412d82ed30e89c5adbfd /erts/emulator/beam/bif.c
parent3d184db38d2389c463dd3ad88c34992f8427f30d (diff)
parenta1520d8bd2b467d5128998a5069611b9e6252653 (diff)
downloadotp-dcf096a77d94a16d46ae553263f9dcd3be5a884b.tar.gz
otp-dcf096a77d94a16d46ae553263f9dcd3be5a884b.tar.bz2
otp-dcf096a77d94a16d46ae553263f9dcd3be5a884b.zip
Merge branch 'egil/fix-term-cmp/OTP-12623' into maint
* egil/fix-term-cmp/OTP-12623: erts: Fix comparison of exact terms
Diffstat (limited to 'erts/emulator/beam/bif.c')
-rw-r--r--erts/emulator/beam/bif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/bif.c b/erts/emulator/beam/bif.c
index 42dd160e38..5ac74032fa 100644
--- a/erts/emulator/beam/bif.c
+++ b/erts/emulator/beam/bif.c
@@ -4659,7 +4659,7 @@ BIF_RETTYPE bump_reductions_1(BIF_ALIST_1)
}
BIF_RETTYPE erts_internal_cmp_term_2(BIF_ALIST_2) {
- int res = CMP_TERM(BIF_ARG_1,BIF_ARG_2);
+ Sint res = CMP_TERM(BIF_ARG_1,BIF_ARG_2);
/* ensure -1, 0, 1 result */
if (res < 0) {