aboutsummaryrefslogtreecommitdiff
path: root/strbuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'strbuf.c')
-rw-r--r--strbuf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/strbuf.c b/strbuf.c
index 704f702..8aa0747 100644
--- a/strbuf.c
+++ b/strbuf.c
@@ -86,7 +86,7 @@ static inline void debug_stats(strbuf_t *s)
86{ 86{
87 if (s->debug) { 87 if (s->debug) {
88 fprintf(stderr, "strbuf(%p) reallocs: %d, length: %zd, size: %zd\n", 88 fprintf(stderr, "strbuf(%p) reallocs: %d, length: %zd, size: %zd\n",
89 s, s->reallocs, s->length, s->size); 89 (void *) s, s->reallocs, s->length, s->size);
90 } 90 }
91} 91}
92 92
@@ -165,7 +165,7 @@ void strbuf_resize(strbuf_t *s, size_t len)
165 165
166 if (s->debug > 1) { 166 if (s->debug > 1) {
167 fprintf(stderr, "strbuf(%p) resize: %zd => %zd\n", 167 fprintf(stderr, "strbuf(%p) resize: %zd => %zd\n",
168 s, s->size, newsize); 168 (void *) s, s->size, newsize);
169 } 169 }
170 170
171 s->size = newsize; 171 s->size = newsize;