summaryrefslogtreecommitdiffstats
path: root/lib/libnetgraph/debug.c
diff options
context:
space:
mode:
authormux <mux@FreeBSD.org>2005-04-26 14:25:11 +0000
committermux <mux@FreeBSD.org>2005-04-26 14:25:11 +0000
commit97a7651af8ad42b6f47e50ff43d50319422a7a8e (patch)
tree4eba5fe9fa741c6c667fce6686078caaf3bf686d /lib/libnetgraph/debug.c
parent5e7fbbbdc299d1d4b4b81375f830eee4a057c7ff (diff)
downloadFreeBSD-src-97a7651af8ad42b6f47e50ff43d50319422a7a8e.zip
FreeBSD-src-97a7651af8ad42b6f47e50ff43d50319422a7a8e.tar.gz
Make this compile with GCC4 by fixing a few signedness related warnings.
Reviewed by: md5(1)
Diffstat (limited to 'lib/libnetgraph/debug.c')
-rw-r--r--lib/libnetgraph/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libnetgraph/debug.c b/lib/libnetgraph/debug.c
index 696d7d9..73d614d 100644
--- a/lib/libnetgraph/debug.c
+++ b/lib/libnetgraph/debug.c
@@ -243,7 +243,7 @@ fail:
fail2:
NGLOGX(" cmd %d", msg->header.cmd);
NGLOGX(" args (%d bytes)", msg->header.arglen);
- _NgDebugBytes(msg->data, msg->header.arglen);
+ _NgDebugBytes((u_char *)msg->data, msg->header.arglen);
done:
if (csock != -1)
OpenPOWER on IntegriCloud