libreport/0001-testsuite-Correct-string-format.patch

28 lines
902 B
Diff
Raw Normal View History

2023-02-27 19:09:00 +00:00
From e8e69f0bf6f0bf067bc7f58f018a74c35d469342 Mon Sep 17 00:00:00 2001
From: Matej Marusak <mmarusak@redhat.com>
Date: Tue, 4 Dec 2018 11:47:16 +0100
Subject: [PATCH 1/2] testsuite: Correct string format
Signed-off-by: Matej Marusak <mmarusak@redhat.com>
(cherry picked from commit 7b123846bc8baa3ff3a6ab8b4e1c5c062d666b5f)
---
tests/reported_to.at | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/reported_to.at b/tests/reported_to.at
index ecf323d8..f95971f7 100644
--- a/tests/reported_to.at
+++ b/tests/reported_to.at
@@ -221,7 +221,7 @@ bool parse_and_check(const char *reported_to, GList *expected)
if(e->timestamp != c->timestamp)
{
- printf("Timestamps: '%lld' != '%lld'\n", e->timestamp, c->timestamp);
+ printf("Timestamps: '%ld' != '%ld'\n", e->timestamp, c->timestamp);
goto finish;
}
--
2.21.0