3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-12-22 21:22:37 +01:00

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

View File

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