summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2007-08-30 09:23:31 +0000
committerrillig <rillig@pkgsrc.org>2007-08-30 09:23:31 +0000
commit8721cadfd59ac72e5d451f8a6af52d03b1e982d5 (patch)
tree1d05a8449af5957a3dc07175d99aea11a251381c
parentfebdd0b8b5c89f6daf0f64b80415e5afd1d476a1 (diff)
downloadpkgsrc-8721cadfd59ac72e5d451f8a6af52d03b1e982d5.tar.gz
Fixed build failure on NetBSD 3.0:
kttcp.c:121: warning: assignment discards qualifiers from pointer target type
-rw-r--r--benchmarks/kttcp/files/kttcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmarks/kttcp/files/kttcp.c b/benchmarks/kttcp/files/kttcp.c
index 5b66ab1c4a7..ccc50dd1d12 100644
--- a/benchmarks/kttcp/files/kttcp.c
+++ b/benchmarks/kttcp/files/kttcp.c
@@ -1,4 +1,4 @@
-/* $NetBSD: kttcp.c,v 1.5 2002/07/11 23:32:35 simonb Exp $ */
+/* $NetBSD: kttcp.c,v 1.6 2007/08/30 09:23:31 rillig Exp $ */
/*
* Copyright (c) 2002 Wasabi Systems, Inc.
@@ -105,7 +105,7 @@ main(int argc, char *argv[])
int bufsize;
int ai_flag;
char *host;
- char *portstr;
+ const char *portstr;
struct kttcp_io_args kio;
struct addrinfo hints, *addr, *res;
struct sockaddr_storage ss;