From d8a0bb74926399cabbea7760fdcfb3319b09b5de Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Thu, 29 Mar 2018 21:20:30 +0900 Subject: [PATCH] bus-util: fix a meaningless assertion --- src/shared/bus-util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2