aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_message.h
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/erl_message.h
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/erl_message.h')
-rw-r--r--erts/emulator/beam/erl_message.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_message.h b/erts/emulator/beam/erl_message.h
index 851ac37fda..4493df1c1a 100644
--- a/erts/emulator/beam/erl_message.h
+++ b/erts/emulator/beam/erl_message.h
@@ -112,8 +112,8 @@ typedef struct erl_heap_fragment ErlHeapFragment;
struct erl_heap_fragment {
ErlHeapFragment* next; /* Next heap fragment */
ErlOffHeap off_heap; /* Offset heap data. */
- unsigned alloc_size; /* Size in (half)words of mem */
- unsigned used_size; /* With terms to be moved to heap by GC */
+ Uint alloc_size; /* Size in (half)words of mem */
+ Uint used_size; /* With terms to be moved to heap by GC */
Eterm mem[1]; /* Data */
};