aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/binary.c
diff options
context:
space:
mode:
authorMikael Pettersson <[email protected]>2016-04-24 10:58:11 +0200
committerMikael Pettersson <[email protected]>2016-05-05 12:50:14 +0200
commit98855709622835602b4c0a2d37e3f06ceb003af7 (patch)
tree5b6ee53de51a13128d994e05c9b5272d3deffa85 /erts/emulator/beam/binary.c
parenta152a8a4e6df5fca0ca6fb0a62ac8fea41b99571 (diff)
downloadotp-98855709622835602b4c0a2d37e3f06ceb003af7.tar.gz
otp-98855709622835602b4c0a2d37e3f06ceb003af7.tar.bz2
otp-98855709622835602b4c0a2d37e3f06ceb003af7.zip
erts_new_mso_binary(): do not truncate len
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;