Re: [PATCH] unsignedness comparison in brconfig.c

2016-01-13 Thread Theo de Raadt
> no need to check if unsigned value is smaller than zero. Please see the > attached patch. > > Gmail likely mangles the inlined patch but here it goes: > --- brconfig.c.oldWed Jan 13 16:35:39 2016 > +++ brconfig.cWed Jan 13 16:36:26 2016 > @@ -563,7 +563,7 @@ bridge_ifcost(const char *ifn

[PATCH] unsignedness comparison in brconfig.c

2016-01-13 Thread Ville Valkonen
Hello, no need to check if unsigned value is smaller than zero. Please see the attached patch. Gmail likely mangles the inlined patch but here it goes: --- brconfig.c.oldWed Jan 13 16:35:39 2016 +++ brconfig.cWed Jan 13 16:36:26 2016 @@ -563,7 +563,7 @@ bridge_ifcost(const char *ifname, c