Avoid undefined behavior when calling va_start() in bnep_send_control(),
authordim <dim@FreeBSD.org>
Mon, 29 Aug 2016 19:40:46 +0000 (19:40 +0000)
committerdim <dim@FreeBSD.org>
Mon, 29 Aug 2016 19:40:46 +0000 (19:40 +0000)
commit605f5728949edae1f9251275d0e816700a6e7ead
tree79e0dc123d92489392e63e4f868286fa93f521f0
parentbaf2e0796c4e58139c12b54feb133102c9b84b31
Avoid undefined behavior when calling va_start() in bnep_send_control(),
by making the 'type' parameter a plain unsigned.

MFC after: 3 days
usr.sbin/bluetooth/btpand/bnep.c
usr.sbin/bluetooth/btpand/btpand.h