From: Yu Watanabe Date: Thu, 29 Mar 2018 12:20:30 +0000 (+0900) Subject: bus-util: fix a meaningless assertion X-Git-Tag: v239~437^2~4 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9629659f60a120fb0d69e2ea2d5c5fe189754fc8;p=thirdparty%2Fsystemd.git bus-util: fix a meaningless assertion --- diff --git a/src/shared/bus-util.h b/src/shared/bus-util.h index eb9fae7228a..662120697ce 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