NETGRAPH7: libnetgraph7: fix compilation.
authorNuno Antunes <nuno.antunes@gmail.com>
Fri, 3 Sep 2010 18:51:38 +0000 (19:51 +0100)
committerNuno Antunes <nuno.antunes@gmail.com>
Tue, 10 Jan 2012 14:10:27 +0000 (14:10 +0000)
lib/libnetgraph7/debug.c

index f80d1f8..4bfe893 100644 (file)
@@ -290,7 +290,7 @@ fail:
 fail2:
        NGLOGX("  cmd    %d", msg->header.cmd);
        NGLOGX("  args (%d bytes)", msg->header.arglen);
-       _NgDebugBytes((u_char *)msg->data, msg->header.arglen);
+       _NgDebugBytes(msg->data, msg->header.arglen);
 
 done:
        if (csock != -1)