mirror of
https://git.kernel.org/pub/scm/network/wireless/iwd.git
synced 2024-12-23 05:32:48 +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:
parent
d8c058f25f
commit
46b85c00c1
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user