summaryrefslogtreecommitdiff
path: root/tests/pb/test_decoder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pb/test_decoder.cc')
-rw-r--r--tests/pb/test_decoder.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pb/test_decoder.cc b/tests/pb/test_decoder.cc
index 98926a6..c615a3c 100644
--- a/tests/pb/test_decoder.cc
+++ b/tests/pb/test_decoder.cc
@@ -111,7 +111,7 @@ using std::string;
void vappendf(string* str, const char *format, va_list args) {
va_list copy;
- va_copy(copy, args);
+ __va_copy(copy, args);
int count = vsnprintf(NULL, 0, format, args);
if (count >= 0)
@@ -577,7 +577,7 @@ void run_decoder(const string& proto, const string* expected_output) {
fprintf(stderr, "RUNNING TEST CASE, hash=%x\n", testhash);
fprintf(stderr, "JIT on: %s\n",
global_method->is_native() ? "true" : "false");
- fprintf(stderr, "Input (len=%zu): ", proto.size());
+ fprintf(stderr, "Input (len=%u): ", (unsigned)proto.size());
PrintBinary(proto);
fprintf(stderr, "\n");
if (expected_output) {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback