diff th_util.h @ 120:41c2638ee537

Use void* instead of uint8_t* in th_growbuf_put_str()
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 22 Jun 2014 01:25:35 +0300
parents 13f001f1ad6e
children aa2d608fb3f3
line wrap: on
line diff
--- a/th_util.h	Sun Jun 22 00:07:25 2014 +0300
+++ b/th_util.h	Sun Jun 22 01:25:35 2014 +0300
@@ -218,7 +218,7 @@
 BOOL    th_growbuf_grow(th_growbuf_t *buf, const size_t grow);
 BOOL    th_growbuf_puts(th_growbuf_t *buf, const char *str, BOOL eos);
 BOOL    th_growbuf_putch(th_growbuf_t *buf, const char ch);
-BOOL    th_growbuf_put_str(th_growbuf_t *buf, const uint8_t *s, const size_t len);
+BOOL    th_growbuf_put_str(th_growbuf_t *buf, const void *s, const size_t len);
 BOOL    th_growbuf_put_u8(th_growbuf_t *buf, const uint8_t val);
 BOOL    th_growbuf_put_u16_be(th_growbuf_t *buf, const uint16_t val);
 BOOL    th_growbuf_put_u16_le(th_growbuf_t *buf, const uint16_t val);