diff th_datastruct.c @ 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.c	Thu Jan 09 21:15:54 2020 +0200
+++ b/th_datastruct.c	Sat Jan 11 20:35:40 2020 +0200
@@ -555,7 +555,7 @@
 }
 
 
-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)
 {
     if (!th_strbuf_grow(buf, bufsize, len, 1))
         return FALSE;