shared: convert unsigned long to uint64_t explicitly (#5314)

Closes #5313
This commit is contained in:
Evgeny Vereshchagin
2017-02-12 00:36:34 -05:00
committed by Zbigniew Jędrzejewski-Szmek
parent e0686b73ac
commit b9e2d822d0
+1 -1
View File
@@ -585,7 +585,7 @@ int bus_append_unit_property_assignment(sd_bus_message *m, const char *assignmen
if (r < 0)
return log_error_errno(r, "Failed to parse mount propagation flags: %s", eq);
r = sd_bus_message_append(m, "v", "t", f);
r = sd_bus_message_append(m, "v", "t", (uint64_t) f);
} else if (STR_IN_SET(field, "BindPaths", "BindReadOnlyPaths")) {
const char *p = eq;