diff options
author | Lukas Larsson <[email protected]> | 2017-10-18 16:01:03 +0200 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2017-10-30 19:40:34 +0100 |
commit | 1b00539d6db8e349c6782bcd38ab006420734106 (patch) | |
tree | 847bc2b962ad07f7ebcc8fac6d9d062fa5b7c1db /erts/emulator/beam/erl_io_queue.h | |
parent | 56587b4c81c337d198a414334c3f6429f12cbf64 (diff) | |
download | otp-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.h')
-rw-r--r-- | erts/emulator/beam/erl_io_queue.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/beam/erl_io_queue.h b/erts/emulator/beam/erl_io_queue.h index 51abe99510..7d0fe6751c 100644 --- a/erts/emulator/beam/erl_io_queue.h +++ b/erts/emulator/beam/erl_io_queue.h @@ -103,7 +103,7 @@ Uint erts_ioq_sizeq(ErtsIOQueue *q); 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); int erts_ioq_iolist_to_vec(Eterm obj, SysIOVec* iov, ErtsIOQBinary** binv, ErtsIOQBinary* cbin, Uint bin_limit, int driver_binary); @@ -111,7 +111,7 @@ int erts_ioq_iolist_to_vec(Eterm obj, SysIOVec* iov, ERTS_GLB_INLINE int erts_ioq_iodata_vec_len(Eterm obj, int* vsize, Uint* csize, Uint* pvsize, Uint* pcsize, - Uint* total_size, Uint blimit); + size_t* total_size, Uint blimit); ERTS_GLB_INLINE int erts_ioq_iodata_to_vec(Eterm obj, SysIOVec* iov, ErtsIOQBinary** binv, ErtsIOQBinary* cbin, @@ -123,7 +123,7 @@ int erts_ioq_iodata_to_vec(Eterm obj, SysIOVec* iov, ERTS_GLB_INLINE int erts_ioq_iodata_vec_len(Eterm obj, int* vsize, Uint* csize, Uint* pvsize, Uint* pcsize, - Uint* total_size, Uint blimit) { + size_t* total_size, Uint blimit) { if (is_binary(obj)) { /* We optimize for when we get a procbin without a bit-offset * that fits in one iov slot |