You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by jd...@apache.org on 2020/05/26 11:12:39 UTC
[qpid-dispatch] branch master updated: DISPATCH-1669: Fix
formatting placeholders for uint64_t in printf strings
This is an automated email from the ASF dual-hosted git repository.
jdanek pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git
The following commit(s) were added to refs/heads/master by this push:
new be42638 DISPATCH-1669: Fix formatting placeholders for uint64_t in printf strings
be42638 is described below
commit be42638a2da2d9fec0fac98f3b1c1be1606002c0
Author: Jiri Danek <jd...@redhat.com>
AuthorDate: Sat May 23 14:16:20 2020 +0200
DISPATCH-1669: Fix formatting placeholders for uint64_t in printf strings
---
tests/clogger.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/clogger.c b/tests/clogger.c
index a34f4a3..dcbb6f7 100644
--- a/tests/clogger.c
+++ b/tests/clogger.c
@@ -427,9 +427,9 @@ int main(int argc, char** argv)
pn_reactor_free(reactor);
if (not_accepted) {
- printf("Sent: %ld Accepted: %ld Not Accepted: %ld\n", sent, accepted, not_accepted);
+ printf("Sent: %" PRIu64 " Accepted: %" PRIu64 " Not Accepted: %" PRIu64 "\n", sent, accepted, not_accepted);
if (accepted + not_accepted != sent) {
- printf("FAILURE! Sent: %ld Acked: %ld\n", sent, accepted + not_accepted);
+ printf("FAILURE! Sent: %" PRIu64 " Acked: %" PRIu64 "\n", sent, accepted + not_accepted);
return 1;
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org