mirror of https://github.com/bjornbytes/lovr.git
Fix resulting clang warnings;
This commit is contained in:
parent
85c51399a6
commit
793dca03d1
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue