summaryrefslogtreecommitdiffstats
path: root/src/journal/test-journal-verify.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/journal/test-journal-verify.c')
-rw-r--r--src/journal/test-journal-verify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal/test-journal-verify.c b/src/journal/test-journal-verify.c
index 1b30ebffaf..b971c79ea9 100644
--- a/src/journal/test-journal-verify.c
+++ b/src/journal/test-journal-verify.c
@@ -91,7 +91,7 @@ int main(int argc, char *argv[]) {
dual_timestamp_get(&ts);
- assert_se(asprintf(&test, "RANDOM=%lu", random() % RANDOM_RANGE));
+ assert_se(asprintf(&test, "RANDOM=%li", random() % RANDOM_RANGE));
iovec = IOVEC_MAKE_STRING(test);