aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/external.c
diff options
context:
space:
mode:
Diffstat (limited to 'erts/emulator/beam/external.c')
-rw-r--r--erts/emulator/beam/external.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/external.c b/erts/emulator/beam/external.c
index a31b2731be..e8b77b9f37 100644
--- a/erts/emulator/beam/external.c
+++ b/erts/emulator/beam/external.c
@@ -3803,7 +3803,7 @@ dec_term_atom_common:
arity = arityval(*keys++);
while(arity-- > 1) {
- if (CMP(keys[arity-1],keys[arity]) >= 0) {
+ if (CMP_TERM(keys[arity-1],keys[arity]) >= 0) {
goto error;
}
}