Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/tests/net/icmp setsockopt() wants int instead of size_t. Sh...
details: https://anonhg.NetBSD.org/src/rev/9b12309ee4a3
branches: trunk
changeset: 757367:9b12309ee4a3
user: pooka <pooka%NetBSD.org@localhost>
date: Thu Aug 26 17:24:14 2010 +0000
description:
setsockopt() wants int instead of size_t. Should fix this on LP64.
diffstat:
tests/net/icmp/t_ping.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 851951190169 -r 9b12309ee4a3 tests/net/icmp/t_ping.c
--- a/tests/net/icmp/t_ping.c Thu Aug 26 16:42:28 2010 +0000
+++ b/tests/net/icmp/t_ping.c Thu Aug 26 17:24:14 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: t_ping.c,v 1.7 2010/08/23 10:49:27 pooka Exp $ */
+/* $NetBSD: t_ping.c,v 1.8 2010/08/26 17:24:14 pooka Exp $ */
/*-
* Copyright (c) 2010 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: t_ping.c,v 1.7 2010/08/23 10:49:27 pooka Exp $");
+__RCSID("$NetBSD: t_ping.c,v 1.8 2010/08/26 17:24:14 pooka Exp $");
#endif /* not lint */
#include <sys/types.h>
@@ -129,7 +129,7 @@
}
static int
-doping(const char *target, int loops, size_t pktsize)
+doping(const char *target, int loops, int pktsize)
{
char sndbuf[IP_MAXPACKET - sizeof(struct ip)];
char recvbuf[IP_MAXPACKET];
Home |
Main Index |
Thread Index |
Old Index