Fix resulting clang warnings;

This commit is contained in:
bjorn 2019-03-17 01:01:54 -07:00
parent 85c51399a6
commit 793dca03d1
1 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ static inline void debug_stats(strbuf_t *s)
{
if (s->debug) {
fprintf(stderr, "strbuf(%p) reallocs: %d, length: %d, size: %d\n",
s, s->reallocs, s->length, s->size);
(void*) s, s->reallocs, s->length, s->size);
}
}
@ -169,7 +169,7 @@ void strbuf_resize(strbuf_t *s, int len)
if (s->debug > 1) {
fprintf(stderr, "strbuf(%p) resize: %d => %d\n",
s, s->size, newsize);
(void*) s, s->size, newsize);
}
s->size = newsize;