summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2018-03-29 21:20:30 +0900
committerSven Eden <yamakuzure@gmx.net>2018-08-24 16:47:08 +0200
commitd8a0bb74926399cabbea7760fdcfb3319b09b5de (patch)
tree438d630adaf5be72b00b48aa0974558a4045d188 /src/shared
parent25c7db66f9272d4ffce2ee5909f54e8522fa1198 (diff)
bus-util: fix a meaningless assertion
Diffstat (limited to 'src/shared')
-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 c4b07673b..b755e7d0a 100644
--- a/src/shared/bus-util.h
+++ b/src/shared/bus-util.h
@@ -112,7 +112,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