diff options
author | Anna (navi) Figueiredo Gomes <navi@vlhl.dev> | 2023-07-09 15:39:51 -0300 |
---|---|---|
committer | Anna (navi) Figueiredo Gomes <navi@vlhl.dev> | 2023-07-09 16:04:33 -0300 |
commit | 3c36d76be739b6975fac4e6adee3b91002056db1 (patch) | |
tree | 82f26ce27c21cca23367b3b40849e710216ab8b2 /src/buffer.c | |
parent | 7a388dad85152a203033c14fee3c64607301865a (diff) |
Signed-off-by: Anna (navi) Figueiredo Gomes <navi@vlhl.dev>
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c index 0759f5d..011d1b4 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -59,7 +59,7 @@ void buf_append(struct buffer *buf, const char *str) { void buf_printf(struct buffer *buf, char *fmt, ...) { va_list ap; - size_t len; + ssize_t len; va_start(ap, fmt); len = vsnprintf(buf->data, buf->size, fmt, ap); |