Re: use size_t instead of int

2018-08-04 Thread Sebastian Benoit
sorry, forgot to mention that its on top of my ifconfig join diff that adds the size_t len; Klemens Nanni(k...@openbsd.org) on 2018.08.04 22:30:39 +0200: > On Sat, Aug 04, 2018 at 09:19:46PM +0200, Sebastian Benoit wrote: > > in the SIOCG80211ALLNODES ioctl case, > > the proper type for i should b

Re: use size_t instead of int

2018-08-04 Thread Klemens Nanni
On Sat, Aug 04, 2018 at 09:19:46PM +0200, Sebastian Benoit wrote: > in the SIOCG80211ALLNODES ioctl case, > the proper type for i should be size_t, > also give it a nicer name and remove a tab. I like the idea but your diff does not apply. > (benno_net80211_use_sizet_in_ioctl.diff) > diff --git sy

use size_t instead of int

2018-08-04 Thread Sebastian Benoit
in the SIOCG80211ALLNODES ioctl case, the proper type for i should be size_t, also give it a nicer name and remove a tab. ok? (benno_net80211_use_sizet_in_ioctl.diff) diff --git sys/net80211/ieee80211_ioctl.c sys/net80211/ieee80211_ioctl.c index b41b4fe09d8..6aebb432522 100644 --- sys/net80211/ie