aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2013-11-05 21:59:53 +0100
committerSverker Eriksson <[email protected]>2013-11-18 20:19:52 +0100
commit53c26db17f6bf89783e0dd48f7777cfeff18f756 (patch)
tree18631ef1a500eb2fae9b27329739f4ef03a8bebc
parentadcdcb2c7985ad6076a2bedebdfce08d14465b43 (diff)
downloadotp-53c26db17f6bf89783e0dd48f7777cfeff18f756.tar.gz
otp-53c26db17f6bf89783e0dd48f7777cfeff18f756.tar.bz2
otp-53c26db17f6bf89783e0dd48f7777cfeff18f756.zip
erts: Fix bug in binary_to_term for compressed on halfword
-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 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)