summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-03-29 21:20:30 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2018-04-05 10:19:57 +0900
commit9629659f60a120fb0d69e2ea2d5c5fe189754fc8 (patch)
tree1017d30a24e55fe15ad389c04af0e1582f4ce03c
parentc0f9017c1195b9bc3743e8dd000a18d3898b0034 (diff)
downloadsystemd-9629659f60a120fb0d69e2ea2d5c5fe189754fc8.tar.gz
bus-util: fix a meaningless assertion
-rw-r--r--src/shared/bus-util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/bus-util.h b/src/shared/bus-util.h
index eb9fae7228..662120697c 100644
--- a/src/shared/bus-util.h
+++ b/src/shared/bus-util.h
@@ -98,7 +98,7 @@ int bus_property_get_id128(sd_bus *bus, const char *path, const char *interface,
assert_cc(sizeof(int) == sizeof(int32_t));
#define bus_property_get_int ((sd_bus_property_get_t) NULL)
-assert_cc(sizeof(unsigned) == sizeof(unsigned));
+assert_cc(sizeof(unsigned) == sizeof(uint32_t));
#define bus_property_get_unsigned ((sd_bus_property_get_t) NULL)
/* On 64bit machines we can use the default serializer for size_t and