diff options
author | Sverker Eriksson <[email protected]> | 2010-11-30 14:41:15 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2010-11-30 14:41:15 +0100 |
commit | af9ee16efdb1f7fe45b2812b045157d8eb0a8d4c (patch) | |
tree | ea58de3dd2d508f7740a19fd1d933dcb5def9ef4 /lib | |
parent | f8207811f1f2f0b2d2626c5db431c687072e3e33 (diff) | |
download | otp-af9ee16efdb1f7fe45b2812b045157d8eb0a8d4c.tar.gz otp-af9ee16efdb1f7fe45b2812b045157d8eb0a8d4c.tar.bz2 otp-af9ee16efdb1f7fe45b2812b045157d8eb0a8d4c.zip |
Fix ei_decode_SUITE:test_ei_decode_long for halfword vm
Diffstat (limited to 'lib')
-rw-r--r-- | lib/erl_interface/test/ei_decode_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/erl_interface/test/ei_decode_SUITE.erl b/lib/erl_interface/test/ei_decode_SUITE.erl index 09a37409f2..524a04a3b4 100644 --- a/lib/erl_interface/test/ei_decode_SUITE.erl +++ b/lib/erl_interface/test/ei_decode_SUITE.erl @@ -232,7 +232,7 @@ send_integers(P) -> ?line send_term_as_binary(P, 16#80000000), % SMALL_BIG_EXT new smallest pos(*) ?line send_term_as_binary(P,-16#80000001), % SMALL_BIG_EXT new largest neg (*) - case erlang:system_info(wordsize) of + case erlang:system_info({wordsize,external}) of 4 -> ?line send_term_as_binary(P, 16#80000000),% SMALL_BIG_EXT u32 ?line send_term_as_binary(P, 16#ffffffff),% SMALL_BIG_EXT largest u32 |