mirror of
https://github.com/clearml/dropbear
synced 2025-03-03 10:41:39 +00:00
Expect len to be a type of socklen_t [-Werror=pointer-sign]
This commit is contained in:
parent
224b16b247
commit
18638859e6
@ -107,7 +107,7 @@ static void x11accept(struct Listener* listener, int sock) {
|
||||
|
||||
int fd;
|
||||
struct sockaddr_in addr;
|
||||
int len;
|
||||
socklen_t len;
|
||||
int ret;
|
||||
struct ChanSess * chansess = (struct ChanSess *)(listener->typedata);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user