aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/binary.c
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2016-05-17 16:16:09 +0200
committerLukas Larsson <[email protected]>2016-05-17 16:16:09 +0200
commit0d6b5426898f7dd2fb099809cb171b2678a08d59 (patch)
treef0589becbacbf888be762ebb4e83c69535cecdb0 /erts/emulator/beam/binary.c
parent08829107836e959e3ca619f591e07f8f912cafbc (diff)
parent325f700a35ecf3e50b8d679f504edbdd5a4ec1ab (diff)
downloadotp-0d6b5426898f7dd2fb099809cb171b2678a08d59.tar.gz
otp-0d6b5426898f7dd2fb099809cb171b2678a08d59.tar.bz2
otp-0d6b5426898f7dd2fb099809cb171b2678a08d59.zip
Merge branch 'mikpe/otp-19-erts-integer-truncation-bugs/PR-1045/OTP-13606'
* mikpe/otp-19-erts-integer-truncation-bugs/PR-1045/OTP-13606: erl_unicode.c: fix integer truncation problems do not limit heap fragments to 4 giga-words erts_new_mso_binary(): do not truncate len Conflicts: erts/emulator/beam/erl_nif.c
Diffstat (limited to 'erts/emulator/beam/binary.c')
-rw-r--r--erts/emulator/beam/binary.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/binary.c b/erts/emulator/beam/binary.c
index cfd8fbe2f5..071a356260 100644
--- a/erts/emulator/beam/binary.c
+++ b/erts/emulator/beam/binary.c
@@ -117,7 +117,7 @@ new_binary(Process *p, byte *buf, Uint len)
* When heap binary is not desired...
*/
-Eterm erts_new_mso_binary(Process *p, byte *buf, int len)
+Eterm erts_new_mso_binary(Process *p, byte *buf, Uint len)
{
ProcBin* pb;
Binary* bptr;