Mercurial > hg > th-libs
diff th_datastruct.h @ 581:935ee9a9f631
Change 'ch' argument of th_strbuf_putch from char to uint8_t.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 11 Jan 2020 20:35:40 +0200 |
parents | 414755d33796 |
children | 98c8bd80f633 |
line wrap: on
line diff
--- a/th_datastruct.h Thu Jan 09 21:15:54 2020 +0200 +++ b/th_datastruct.h Sat Jan 11 20:35:40 2020 +0200 @@ -80,7 +80,7 @@ /* Simple growing string buffer */ BOOL th_strbuf_grow(char **buf, size_t *bufsize, size_t *len, const size_t grow); -BOOL th_strbuf_putch(char **buf, size_t *bufsize, size_t *len, const char ch); +BOOL th_strbuf_putch(char **buf, size_t *bufsize, size_t *len, const uint8_t ch); BOOL th_strbuf_putsn(char **buf, size_t *bufsize, size_t *len, const char *str, const size_t slen); BOOL th_strbuf_puts(char **buf, size_t *bufsize, size_t *len, const char *str);