summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@netsurf-browser.org>2008-08-22 10:08:56 +0000
committerDaniel Silverstone <dsilvers@netsurf-browser.org>2008-08-22 10:08:56 +0000
commitffec2c5dbdc4d0fc6a0500c886b372415996a051 (patch)
treeaeab152781850d95180addd7d37dac127a45b188
parenta5351f9e4144ab6abbfa83fa5b10eacb9865db69 (diff)
downloadlibparserutils-ffec2c5dbdc4d0fc6a0500c886b372415996a051.tar.gz
libparserutils-ffec2c5dbdc4d0fc6a0500c886b372415996a051.tar.bz2
Fix formatting strings so it won't whinge on amd64
svn path=/trunk/libparserutils/; revision=5171
-rw-r--r--include/parserutils/input/inputstream.h4
1 files changed, 2 insertions, 2 deletions
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