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/answer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hunt/huntd/answer.c') diff --git a/hunt/huntd/answer.c b/hunt/huntd/answer.c index 20371629..0759f750 100644 --- a/hunt/huntd/answer.c +++ b/hunt/huntd/answer.c @@ -1,4 +1,4 @@ -/* $NetBSD: answer.c,v 1.7 2004/11/05 21:30:32 dsl Exp $ */ +/* $NetBSD: answer.c,v 1.8 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: answer.c,v 1.7 2004/11/05 21:30:32 dsl Exp $"); +__RCSID("$NetBSD: answer.c,v 1.8 2006/05/09 20:18:06 mrg Exp $"); #endif /* not lint */ # include @@ -55,7 +55,7 @@ answer() static char name[NAMELEN]; static char team; static int enter_status; - static int socklen; + static socklen_t socklen; static u_long machine; static u_int32_t uid; static SOCKET sockstruct; -- cgit v1.2.3