$OpenBSD: patch-libvncserver_httpd_c,v 1.1.1.1 2004/12/02 21:21:23 sturm Exp $ --- libvncserver/httpd.c.orig Thu Dec 2 21:04:09 2004 +++ libvncserver/httpd.c Thu Dec 2 21:04:52 2004 @@ -123,7 +123,7 @@ httpCheckFds(rfbScreenInfoPtr rfbScreen) fd_set fds; struct timeval tv; struct sockaddr_in addr; - size_t addrlen = sizeof(addr); + socklen_t addrlen = sizeof(addr); if (!rfbScreen->httpDir) return; @@ -208,7 +208,7 @@ static void httpProcessInput(rfbScreenInfoPtr rfbScreen) { struct sockaddr_in addr; - size_t addrlen = sizeof(addr); + socklen_t addrlen = sizeof(addr); char fullFname[512]; char params[1024]; char *ptr;