netconfig: Use uint32 instead of unsigned int

For consistency, the type used to obtain the new length should be the
same as the passed in len parameter, which is uint32_t
This commit is contained in:
Denis Kenzior 2019-07-20 07:04:13 -05:00
parent d8c058f25f
commit 46b85c00c1
1 changed files with 1 additions and 1 deletions

View File

@ -191,7 +191,7 @@ static void netconfig_ifaddr_notify(uint16_t type, const void *data,
{
const struct ifaddrmsg *ifa = data;
struct netconfig *netconfig;
unsigned int bytes;
uint32_t bytes;
netconfig = netconfig_find(ifa->ifa_index);
if (!netconfig)