aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_io_queue.c
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2017-10-18 16:01:03 +0200
committerLukas Larsson <[email protected]>2017-10-30 19:40:34 +0100
commit1b00539d6db8e349c6782bcd38ab006420734106 (patch)
tree847bc2b962ad07f7ebcc8fac6d9d062fa5b7c1db /erts/emulator/beam/erl_io_queue.c
parent56587b4c81c337d198a414334c3f6429f12cbf64 (diff)
downloadotp-1b00539d6db8e349c6782bcd38ab006420734106.tar.gz
otp-1b00539d6db8e349c6782bcd38ab006420734106.tar.bz2
otp-1b00539d6db8e349c6782bcd38ab006420734106.zip
erts: Fix a bunch of compiler warnings
Diffstat (limited to 'erts/emulator/beam/erl_io_queue.c')
-rw-r--r--erts/emulator/beam/erl_io_queue.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_io_queue.c b/erts/emulator/beam/erl_io_queue.c
index 190ba6bbb9..40d69ea6b0 100644
--- a/erts/emulator/beam/erl_io_queue.c
+++ b/erts/emulator/beam/erl_io_queue.c
@@ -658,7 +658,7 @@ io_list_vec_count(Eterm obj, Uint *v_size,
int
erts_ioq_iolist_vec_len(Eterm obj, int* vsize, Uint* csize,
Uint* pvsize, Uint* pcsize,
- Uint* total_size, Uint blimit)
+ size_t* total_size, Uint blimit)
{
DECLARE_ESTACK(s);
Eterm* objp;
@@ -669,7 +669,7 @@ erts_ioq_iolist_vec_len(Eterm obj, int* vsize, Uint* csize,
Uint p_v_size = 0;
Uint p_c_size = 0;
Uint p_in_clist = 0;
- Uint total;
+ size_t total;
goto L_jump_start; /* avoid a push */