From ffec2c5dbdc4d0fc6a0500c886b372415996a051 Mon Sep 17 00:00:00 2001 From: Daniel Silverstone Date: Fri, 22 Aug 2008 10:08:56 +0000 Subject: Fix formatting strings so it won't whinge on amd64 svn path=/trunk/libparserutils/; revision=5171 --- include/parserutils/input/inputstream.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/parserutils') diff --git a/include/parserutils/input/inputstream.h b/include/parserutils/input/inputstream.h index 3a24e84..f56ce48 100644 --- a/include/parserutils/input/inputstream.h +++ b/include/parserutils/input/inputstream.h @@ -89,7 +89,7 @@ static inline uintptr_t parserutils_inputstream_peek( return PARSERUTILS_INPUTSTREAM_OOD; #ifndef NDEBUG - fprintf(stdout, "Peek: len: %lu cur: %lu off: %lu\n", + fprintf(stdout, "Peek: len: %zu cur: %u off: %zu\n", stream->utf8->length, stream->cursor, offset); parserutils_buffer_randomise(stream->utf8); #endif @@ -144,7 +144,7 @@ static inline void parserutils_inputstream_advance( return; #ifndef NDEBUG - fprintf(stdout, "Advance: len: %lu cur: %lu bytes: %lu\n", + fprintf(stdout, "Advance: len: %zu cur: %u bytes: %zu\n", stream->utf8->length, stream->cursor, bytes); #endif -- cgit v1.2.3