From 5b913d05d1629e2b06fd1a5e02bd884102cc8c48 Mon Sep 17 00:00:00 2001 From: mrg Date: Tue, 9 May 2006 20:18:05 +0000 Subject: change (mostly) int to socklen_t. GCC 4 doesn't like that int and socklen_t are different signness. --- hunt/huntd/driver.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'hunt/huntd/driver.c') diff --git a/hunt/huntd/driver.c b/hunt/huntd/driver.c index 1ca803e8..9deaa525 100644 --- a/hunt/huntd/driver.c +++ b/hunt/huntd/driver.c @@ -1,4 +1,4 @@ -/* $NetBSD: driver.c,v 1.10 2004/01/27 20:30:29 jsm Exp $ */ +/* $NetBSD: driver.c,v 1.11 2006/05/09 20:18:06 mrg Exp $ */ /* * Copyright (c) 1983-2003, Regents of the University of California. * All rights reserved. @@ -32,7 +32,7 @@ #include #ifndef lint -__RCSID("$NetBSD: driver.c,v 1.10 2004/01/27 20:30:29 jsm Exp $"); +__RCSID("$NetBSD: driver.c,v 1.11 2006/05/09 20:18:06 mrg Exp $"); #endif /* not lint */ # include @@ -90,7 +90,7 @@ main(ac, av, ep) # ifdef INTERNET u_short msg; short port_num, reply; - int namelen; + socklen_t namelen; SOCKET test; # endif static FLAG first = TRUE; @@ -261,7 +261,7 @@ init() # ifdef INTERNET SOCKET test_port; int msg; - int len; + socklen_t len; # endif # ifndef DEBUG @@ -896,7 +896,7 @@ send_stats() FILE *fp; int s; SOCKET sockstruct; - int socklen; + socklen_t socklen; /* * Get the output stream ready -- cgit v1.2.3