summaryrefslogtreecommitdiffstats
path: root/cpukit/httpd/socket.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/httpd/socket.c')
-rw-r--r--cpukit/httpd/socket.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/cpukit/httpd/socket.c b/cpukit/httpd/socket.c
index bca64741d5..430139bd68 100644
--- a/cpukit/httpd/socket.c
+++ b/cpukit/httpd/socket.c
@@ -354,7 +354,7 @@ static void socketAccept(socket_t *sp)
} overlay;
struct sockaddr_in *addr;
socket_t *nsp;
- int len;
+ socklen_t len;
char *pString;
int newSock, nid;
@@ -415,7 +415,8 @@ int socketGetInput(int sid, char *buf, int toRead, int *errCode)
{
struct sockaddr_in server;
socket_t *sp;
- int len, bytesRead;
+ socklen_t len;
+ int bytesRead;
a_assert(buf);
a_assert(errCode);