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/03/13 19:23:33 UTC

svn commit: r1300269 - /qpid/proton/proton-c/src/engine/engine.c

Author: rhs
Date: Tue Mar 13 18:23:33 2012
New Revision: 1300269

URL: http://svn.apache.org/viewvc?rev=1300269&view=rev
Log:
fixed printf code to use platform macro

Modified:
    qpid/proton/proton-c/src/engine/engine.c

Modified: qpid/proton/proton-c/src/engine/engine.c
URL: http://svn.apache.org/viewvc/qpid/proton/proton-c/src/engine/engine.c?rev=1300269&r1=1300268&r2=1300269&view=diff
==============================================================================
--- qpid/proton/proton-c/src/engine/engine.c (original)
+++ qpid/proton/proton-c/src/engine/engine.c Tue Mar 13 18:23:33 2012
@@ -26,6 +26,7 @@
 #include <proton/value.h>
 #include "../protocol.h"
 #include <wchar.h>
+#include <inttypes.h>
 
 #include <stdarg.h>
 #include <stdio.h>
@@ -994,7 +995,7 @@ void pn_do_disposition(pn_dispatcher_t *
     break;
   default:
     // XXX
-    fprintf(stderr, "default %lu\n", code);
+    fprintf(stderr, "default %" PRIu64 "\n", code);
     dispo = 0;
     break;
   }



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org