aboutsummaryrefslogtreecommitdiffhomepage
path: root/io.cpp
diff options
context:
space:
mode:
authorGravatar Konrad Borowski <glitchmr@myopera.com>2013-11-25 16:10:14 +0100
committerGravatar Konrad Borowski <glitchmr@myopera.com>2013-11-25 16:10:14 +0100
commit3eac5f9ab7f2ef5f86390a714f0eee48c6f2778b (patch)
tree79257601b13b6b97da64bfca6546aa50c173c7b8 /io.cpp
parentfcb3f3606502e559fd95908b5b0c1d36b0e0a060 (diff)
Fix io_buffer_t::print to take unsigned long argument.
Diffstat (limited to 'io.cpp')
-rw-r--r--io.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.cpp b/io.cpp
index 1ee36e72..3395942c 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()