diff options
author | Anthony Ramine <[email protected]> | 2013-11-21 18:18:42 +0100 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2013-12-02 15:20:50 +0100 |
commit | 80f95d2ab4352eef90ae2546a8e42f4ed82cd738 (patch) | |
tree | 54f229e75f4d89b33b637684d634dd009406a210 /HOWTO/DTRACE.md | |
parent | f8c1256fc624ef79aa4f25574278c0cd2f9f1106 (diff) | |
download | otp-80f95d2ab4352eef90ae2546a8e42f4ed82cd738.tar.gz otp-80f95d2ab4352eef90ae2546a8e42f4ed82cd738.tar.bz2 otp-80f95d2ab4352eef90ae2546a8e42f4ed82cd738.zip |
Silence warnings about socklen_t pointers sign in erl_memory
erl_memory.c:947:7: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
&saddr_size) != 0)
^~~~~~~~~~~
/usr/include/sys/socket.h:616:74: note: passing argument to parameter here
int getsockname(int, struct sockaddr * __restrict, socklen_t * __restrict)
^
erl_memory.c:2613:57: warning: passing 'int *' to parameter of type 'socklen_t *' (aka 'unsigned int *') converts between pointers to integer types with different sign [-Wpointer-sign]
sock = accept(lsock, (struct sockaddr *) &oth_addr, &oth_addr_len);
^~~~~~~~~~~~~
/usr/include/sys/socket.h:610:69: note: passing argument to parameter here
int accept(int, struct sockaddr * __restrict, socklen_t * __restrict)
^
Diffstat (limited to 'HOWTO/DTRACE.md')
0 files changed, 0 insertions, 0 deletions