diff options
author | rillig <rillig> | 2007-08-30 09:23:31 +0000 |
---|---|---|
committer | rillig <rillig> | 2007-08-30 09:23:31 +0000 |
commit | b793dee3d15d17ec8a52c152d933f5dc9934efa6 (patch) | |
tree | 1d05a8449af5957a3dc07175d99aea11a251381c /benchmarks | |
parent | 57b2b8ef02ef6ca7ffefab30a505bbd8f50c0f46 (diff) | |
download | pkgsrc-b793dee3d15d17ec8a52c152d933f5dc9934efa6.tar.gz |
Fixed build failure on NetBSD 3.0:
kttcp.c:121: warning: assignment discards qualifiers from pointer target type
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/kttcp/files/kttcp.c | 4 |
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; |