diff options
author | Thomas Haller <thaller@redhat.com> | 2015-11-20 12:01:46 +0100 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2015-11-20 12:01:46 +0100 |
commit | 28c41c1f8c356ec0f017ef02266fa03ffa586af2 (patch) | |
tree | a1a1a9428a8300ea036976e615f522830d1ca00b | |
parent | eef83a199ac732824e36a0379cd0a94a6752c3da (diff) | |
download | NetworkManager-28c41c1f8c356ec0f017ef02266fa03ffa586af2.tar.gz |
platform: use explict "bool" type instead of "guint8" in NMPObjects
-rw-r--r-- | src/platform/nmp-object.h | 4 |
1 files 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; |