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.

Reply via email to