diff options
author | Raimo Niskanen <[email protected]> | 2011-12-05 17:11:01 +0100 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-12-07 17:40:14 +0100 |
commit | 72e30a62bf3142b8734a02609625893505a3b120 (patch) | |
tree | 007a14809d282ae9140bc7052b62b3bef3b37c5d /erts/emulator/sys/unix/sys.c | |
parent | c4f3d1354284310f18f3f6d5b3782c64e06fdea1 (diff) | |
download | otp-72e30a62bf3142b8734a02609625893505a3b120.tar.gz otp-72e30a62bf3142b8734a02609625893505a3b120.tar.bz2 otp-72e30a62bf3142b8734a02609625893505a3b120.zip |
erl_driver.h: Enlarge types in driver queue and alloc functions
Diffstat (limited to 'erts/emulator/sys/unix/sys.c')
-rw-r--r-- | erts/emulator/sys/unix/sys.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/emulator/sys/unix/sys.c b/erts/emulator/sys/unix/sys.c index fffdfc8a53..77de7bc806 100644 --- a/erts/emulator/sys/unix/sys.c +++ b/erts/emulator/sys/unix/sys.c @@ -2001,7 +2001,7 @@ static void outputv(ErlDrvData e, ErlIOVec* ev) int ix = driver_data[fd].port_num; int pb = driver_data[fd].packet_bytes; int ofd = driver_data[fd].ofd; - int n; + ssize_t n; ErlDrvSizeT sz; char lb[4]; char* lbp; @@ -2051,8 +2051,8 @@ static void output(ErlDrvData e, char* buf, int len) int ix = driver_data[fd].port_num; int pb = driver_data[fd].packet_bytes; int ofd = driver_data[fd].ofd; - int n; - int sz; + ssize_t n; + ErlDrvSizeT sz; char lb[4]; char* lbp; struct iovec iv[2]; |