summaryrefslogtreecommitdiffstats
path: root/src/test/test-path.c
diff options
context:
space:
mode:
authorJan Janssen <medhefgo@web.de>2022-08-29 13:43:29 +0200
committerJan Janssen <medhefgo@web.de>2022-08-30 12:03:33 +0200
commit2676befc73b3f40974ddad84972e873e5b826262 (patch)
tree77963e05083cb3bdc3359b18351f4300c4fddbae /src/test/test-path.c
parenttree-wide: Mark some constants as unsigned (diff)
downloadsystemd-2676befc73b3f40974ddad84972e873e5b826262.tar.xz
systemd-2676befc73b3f40974ddad84972e873e5b826262.zip
tree-wide: Fix a some remaining format warnings by casting
Diffstat (limited to 'src/test/test-path.c')
-rw-r--r--src/test/test-path.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-path.c b/src/test/test-path.c
index a440ca08b4..4066f6ad93 100644
--- a/src/test/test-path.c
+++ b/src/test/test-path.c
@@ -94,7 +94,7 @@ static int _check_states(unsigned line,
UNIT(path)->id,
path_state_to_string(path->state),
path_result_to_string(path->result),
- end - n);
+ (int64_t) (end - n));
log_info("line %u: %s: state = %s; result = %s",
line,
UNIT(service)->id,