summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2022-05-27 03:36:42 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2022-05-31 20:41:15 +0200
commitb7096bd6903fef4c2ec078cd414949e8156a49da (patch)
treee766633b9fc5aeca6fe9c69e2b955e14c75c9e6f
parentsd-bus: drop redundant condition (diff)
downloadsystemd-b7096bd6903fef4c2ec078cd414949e8156a49da.tar.xz
systemd-b7096bd6903fef4c2ec078cd414949e8156a49da.zip
sd-bus: drop unnecessary cast
-rw-r--r--src/libsystemd/sd-bus/bus-message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-bus/bus-message.c b/src/libsystemd/sd-bus/bus-message.c
index 59659ef5b7..fbc836aa43 100644
--- a/src/libsystemd/sd-bus/bus-message.c
+++ b/src/libsystemd/sd-bus/bus-message.c
@@ -1330,7 +1330,7 @@ static void *message_extend_body(
if (m->poisoned)
return NULL;
- start_body = ALIGN_TO((size_t) m->body_size, align);
+ start_body = ALIGN_TO(m->body_size, align);
end_body = start_body + sz;
padding = start_body - m->body_size;