lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 19 Nov 2018 17:40:18 -0800 From: Jakub Kicinski <jakub.kicinski@...ronome.com> To: Stephen Hemminger <stephen@...workplumber.org> Cc: dsahern@...il.com, oss-drivers@...ronome.com, netdev@...r.kernel.org Subject: Re: [PATCH iproute2-next 2/8] json: add %hhu helpers On Mon, 19 Nov 2018 17:18:42 -0800, Stephen Hemminger wrote: > > void jsonw_hu_field(json_writer_t *self, const char *prop, unsigned short num) > > { > > jsonw_name(self, prop); > > Do you really need this? it turns out that because of C type > conversions print_uint should just work? I wondered about that for a second, but I took the existence of jsonw_hu_field() etc. as a proof that explicit typing is preferred.
Powered by blists - more mailing lists