Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/net Fix -Wcast-qual warning.
details: https://anonhg.NetBSD.org/src/rev/057f0e34939c
branches: trunk
changeset: 581804:057f0e34939c
user: he <he%NetBSD.org@localhost>
date: Sun Jun 05 22:31:40 2005 +0000
description:
Fix -Wcast-qual warning.
diffstat:
sys/net/if_arcsubr.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e853395c3ead -r 057f0e34939c sys/net/if_arcsubr.c
--- a/sys/net/if_arcsubr.c Sun Jun 05 21:31:30 2005 +0000
+++ b/sys/net/if_arcsubr.c Sun Jun 05 22:31:40 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_arcsubr.c,v 1.48 2005/05/17 04:14:58 christos Exp $ */
+/* $NetBSD: if_arcsubr.c,v 1.49 2005/06/05 22:31:40 he Exp $ */
/*
* Copyright (c) 1994, 1995 Ignatios Souvatzis
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_arcsubr.c,v 1.48 2005/05/17 04:14:58 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_arcsubr.c,v 1.49 2005/06/05 22:31:40 he Exp $");
#include "opt_inet.h"
@@ -371,7 +371,7 @@
struct arccom *ac;
struct ac_frag *af;
struct mbuf *m1;
- char *s;
+ const char *s;
int newflen;
u_char src, dst, typ;
Home |
Main Index |
Thread Index |
Old Index