diff options
Diffstat (limited to 'src/text-buffer.c')
-rw-r--r-- | src/text-buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/text-buffer.c b/src/text-buffer.c index cc764bc..0a6f140 100644 --- a/src/text-buffer.c +++ b/src/text-buffer.c @@ -48,7 +48,7 @@ text_buffer_append (text_buffer *tb, char c) } void -text_buffer_append_str (text_buffer *tb, char *c, size_t len) +text_buffer_append_str (text_buffer *tb, const char *c, size_t len) { size_t i; for (i=0; i<len; i++) @@ -72,7 +72,7 @@ text_buffer_clear (text_buffer *tb) } void -text_buffer_fill (text_buffer *tb, char *fill, size_t size) +text_buffer_fill (text_buffer *tb, const char *fill, size_t size) { size_t i; tb->used = size; |