From 3eac5f9ab7f2ef5f86390a714f0eee48c6f2778b Mon Sep 17 00:00:00 2001 From: Konrad Borowski Date: Mon, 25 Nov 2013 16:10:14 +0100 Subject: [PATCH] Fix io_buffer_t::print to take unsigned long argument. --- io.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/io.cpp b/io.cpp index 1ee36e72d..3395942c2 100644 --- a/io.cpp +++ b/io.cpp @@ -71,7 +71,7 @@ void io_pipe_t::print() const void io_buffer_t::print() const { fprintf(stderr, "buffer %p (input: %s, size %lu)\n", out_buffer_ptr(), - is_input ? "yes" : "no", out_buffer_size()); + is_input ? "yes" : "no", (unsigned long) out_buffer_size()); } void io_buffer_t::read()