diff options
author | Björn-Egil Dahlberg <[email protected]> | 2010-06-03 17:50:00 +0200 |
---|---|---|
committer | Raimo Niskanen <[email protected]> | 2010-06-07 13:28:31 +0200 |
commit | 84134ab2cf3bb3754cccc536b97f6b1cb9e716c7 (patch) | |
tree | 2fc778952515b7254b3047e856cbe43376905faf /lib/erl_interface/src | |
parent | 8b19e4d231a3e8c46719435dffa20d64463891bb (diff) | |
download | otp-84134ab2cf3bb3754cccc536b97f6b1cb9e716c7.tar.gz otp-84134ab2cf3bb3754cccc536b97f6b1cb9e716c7.tar.bz2 otp-84134ab2cf3bb3754cccc536b97f6b1cb9e716c7.zip |
Let ei_get_type() return ERL_FLOAT_EXT instead of NEW_FLOAT_EXT
Diffstat (limited to 'lib/erl_interface/src')
-rw-r--r-- | lib/erl_interface/src/misc/get_type.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/erl_interface/src/misc/get_type.c b/lib/erl_interface/src/misc/get_type.c index d67a6a80d3..32daa264d0 100644 --- a/lib/erl_interface/src/misc/get_type.c +++ b/lib/erl_interface/src/misc/get_type.c @@ -122,7 +122,12 @@ int ei_get_type_internal(const char *buf, const int *index, case ERL_STRING_EXT: *len = get16be(s); break; - + + case ERL_FLOAT_EXT: + case NEW_FLOAT_EXT: + *type = ERL_FLOAT_EXT; + break; + case ERL_LARGE_TUPLE_EXT: case ERL_LIST_EXT: case ERL_BINARY_EXT: |