From 28c41c1f8c356ec0f017ef02266fa03ffa586af2 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Fri, 20 Nov 2015 12:01:46 +0100 Subject: [PATCH] platform: use explict "bool" type instead of "guint8" in NMPObjects --- src/platform/nmp-object.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platform/nmp-object.h b/src/platform/nmp-object.h index e49d358675..7de44895e6 100644 --- a/src/platform/nmp-object.h +++ b/src/platform/nmp-object.h @@ -149,7 +149,7 @@ typedef struct { NMPlatformLink _public; struct { - guint8 is_in_netlink; + bool is_in_netlink; /* Additional data that depends on the link-type (IFLA_INFO_DATA) */ NMPObject *lnk; @@ -204,7 +204,7 @@ typedef struct { struct _NMPObject { const NMPClass *_class; int _ref_count; - guint8 is_cached; + bool is_cached; union { NMPlatformObject object;