commit 46b85c00c13dc42690d58b4312f7b3e3341d447f
parent d8c058f25f6cae6c3e9ae8745515b59ef262df4b
Author: Denis Kenzior <denkenz@gmail.com>
Date: Sat, 20 Jul 2019 07:04:13 -0500
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
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/netconfig.c b/src/netconfig.c
@@ -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)