aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils.c b/utils.c
index f84001a..df1997b 100644
--- a/utils.c
+++ b/utils.c
@@ -449,7 +449,7 @@ str_ensure_space (struct str *self, size_t n)
}
static void
-str_append_data (struct str *self, const char *data, size_t n)
+str_append_data (struct str *self, const void *data, size_t n)
{
str_ensure_space (self, n);
memcpy (self->str + self->len, data, n);