You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by rh...@apache.org on 2012/05/16 21:24:14 UTC
svn commit: r1339317 - /qpid/proton/trunk/proton-c/src/proton.c
Author: rhs
Date: Wed May 16 19:24:14 2012
New Revision: 1339317
URL: http://svn.apache.org/viewvc?rev=1339317&view=rev
Log:
use inttypes.h for uint64_t format codes
Modified:
qpid/proton/trunk/proton-c/src/proton.c
Modified: qpid/proton/trunk/proton-c/src/proton.c
URL: http://svn.apache.org/viewvc/qpid/proton/trunk/proton-c/src/proton.c?rev=1339317&r1=1339316&r2=1339317&view=diff
==============================================================================
--- qpid/proton/trunk/proton-c/src/proton.c (original)
+++ qpid/proton/trunk/proton-c/src/proton.c Wed May 16 19:24:14 2012
@@ -30,6 +30,7 @@
#include "util.h"
#include "pn_config.h"
#include <proton/codec.h>
+#include <inttypes.h>
int value(int argc, char **argv)
{
@@ -66,8 +67,9 @@ int value(int argc, char **argv)
if (err) {
printf("err = %s\n", pn_error(err));
} else {
- printf("scan=%.*s %lu %i %i %i %.*s %f %.*s %f %lu %i %.*s\n", (int) blam.size, blam.start, n, one, two, three,
- (int) key1.size, key1.start, val1, (int) key2.size, key2.start, val2, al, threeq, (int) sym.size, sym.start);
+ printf("scan=%.*s %" PRIu64 " %i %i %i %.*s %f %.*s %f %" PRIu64 " %i %.*s\n", (int) blam.size,
+ blam.start, n, one, two, three, (int) key1.size, key1.start, val1, (int) key2.size,
+ key2.start, val2, al, threeq, (int) sym.size, sym.start);
}
return 0;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org