Expect len to be a type of socklen_t [-Werror=pointer-sign]

This commit is contained in:
Gaël PORTAY 2015-05-02 15:58:33 +02:00
parent 224b16b247
commit 18638859e6

View File

@ -107,7 +107,7 @@ static void x11accept(struct Listener* listener, int sock) {
int fd; int fd;
struct sockaddr_in addr; struct sockaddr_in addr;
int len; socklen_t len;
int ret; int ret;
struct ChanSess * chansess = (struct ChanSess *)(listener->typedata); struct ChanSess * chansess = (struct ChanSess *)(listener->typedata);