aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/utils.c
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2013-07-11 14:39:58 +0200
committerFredrik Gustafsson <[email protected]>2013-07-11 14:39:58 +0200
commit467cf7656742892ce964468b39649a8a5759925c (patch)
tree57b564aa1e24695fbf7be9ea3c082a5df0a19d90 /erts/emulator/beam/utils.c
parent20fae602c85197ef56aa59648a6891871bb15875 (diff)
parent193639fde33e135cc390f1df13076e5632fdd43c (diff)
downloadotp-467cf7656742892ce964468b39649a8a5759925c.tar.gz
otp-467cf7656742892ce964468b39649a8a5759925c.tar.bz2
otp-467cf7656742892ce964468b39649a8a5759925c.zip
Merge branch 'maint'
Diffstat (limited to 'erts/emulator/beam/utils.c')
-rw-r--r--erts/emulator/beam/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/utils.c b/erts/emulator/beam/utils.c
index a285c1d62b..84deaecb87 100644
--- a/erts/emulator/beam/utils.c
+++ b/erts/emulator/beam/utils.c
@@ -1319,7 +1319,7 @@ make_hash2(Eterm term)
{
FloatDef ff;
GET_DOUBLE(term, ff);
-#if defined(WORDS_BIGENDIAN)
+#if defined(WORDS_BIGENDIAN) || defined(DOUBLE_MIDDLE_ENDIAN)
UINT32_HASH_2(ff.fw[0], ff.fw[1], HCONST_12);
#else
UINT32_HASH_2(ff.fw[1], ff.fw[0], HCONST_12);