diff options
author | jhb <jhb@FreeBSD.org> | 2002-11-07 22:49:15 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2002-11-07 22:49:15 +0000 |
commit | 1e5ba1ad0dcd5f40651ae2f95daf051590d6c47e (patch) | |
tree | 81e53e1a06c4ca70d05590dfc06b15aa4ae74d28 | |
parent | afab015685b69bc70bf82bb0bb10be42fcd05772 (diff) | |
download | FreeBSD-src-1e5ba1ad0dcd5f40651ae2f95daf051590d6c47e.zip FreeBSD-src-1e5ba1ad0dcd5f40651ae2f95daf051590d6c47e.tar.gz |
Add a cast to quiet a warning.
-rw-r--r-- | sys/net/if_vlan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/net/if_vlan.c b/sys/net/if_vlan.c index 710c1e7..33924ac 100644 --- a/sys/net/if_vlan.c +++ b/sys/net/if_vlan.c @@ -336,7 +336,7 @@ vlan_start(struct ifnet *ifp) evl->evl_encap_proto = htons(ETHERTYPE_VLAN); evl->evl_tag = htons(ifv->ifv_tag); #ifdef DEBUG - printf("vlan_start: %*D\n", sizeof *evl, + printf("vlan_start: %*D\n", (int)sizeof *evl, (unsigned char *)evl, ":"); #endif } |