chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25c7db6
)
bus-util: fix a meaningless assertion
author
Yu Watanabe
<watanabe.yu+github@gmail.com>
Thu, 29 Mar 2018 12:20:30 +0000
(21:20 +0900)
committer
Sven Eden
<yamakuzure@gmx.net>
Fri, 24 Aug 2018 14:47:08 +0000
(16:47 +0200)
src/shared/bus-util.h
patch
|
blob
|
history
diff --git
a/src/shared/bus-util.h
b/src/shared/bus-util.h
index c4b07673bf48cd31a53ece47f04131c62420f3e4..b755e7d0ae23c7034b97783e8e55398ea707f65a 100644
(file)
--- 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(u
nsigned
));
+assert_cc(sizeof(unsigned) == sizeof(u
int32_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