diff options
author | Sverker Eriksson <[email protected]> | 2013-11-05 21:59:53 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2013-11-18 20:19:52 +0100 |
commit | 53c26db17f6bf89783e0dd48f7777cfeff18f756 (patch) | |
tree | 18631ef1a500eb2fae9b27329739f4ef03a8bebc /erts/emulator/beam/external.c | |
parent | adcdcb2c7985ad6076a2bedebdfce08d14465b43 (diff) | |
download | otp-53c26db17f6bf89783e0dd48f7777cfeff18f756.tar.gz otp-53c26db17f6bf89783e0dd48f7777cfeff18f756.tar.bz2 otp-53c26db17f6bf89783e0dd48f7777cfeff18f756.zip |
erts: Fix bug in binary_to_term for compressed on halfword
Diffstat (limited to 'erts/emulator/beam/external.c')
-rw-r--r-- | erts/emulator/beam/external.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/external.c b/erts/emulator/beam/external.c index 6a7d15cc88..28c6caf5fe 100644 --- a/erts/emulator/beam/external.c +++ b/erts/emulator/beam/external.c @@ -1429,7 +1429,7 @@ static Eterm binary_to_term_int(Process* p, Uint32 flags, Eterm bin, Binary* con break; } case B2TUncompressChunk: { - Uint chunk = ctx->reds; + uLongf chunk = ctx->reds; int zret; if (chunk > ctx->u.uc.dleft) |