on my GNU/Linux machine int64_t is a typedef for long, so there is no
suitable overload in xdr::ostream for the long long and unsigned long long
members in examples/xdr_test.h
this patch makes the test use the (u)int64_t types, which match the
provided overloads.
--- examples/xdr_test.h.orig 2005-07-22 18:22:12.000000000 +0100
+++ examples/xdr_test.h 2008-12-08 23:03:06.000000000 +0000
@@ -1,5 +1,6 @@
#include <vector>
#include <string>
+#include <stdint.h>
using std::vector;
using std::string;
@@ -9,8 +10,8 @@
unsigned int ui;
float f;
double d;
- long long int li;
- unsigned long long int uli;
+ int64_t li;
+ uint64_t uli;
string s;
vector<int> vi;
Nobody/Anonymous
xdr
None
Public