diff options
author | Přemysl Janouch <p.janouch@gmail.com> | 2014-09-23 19:52:53 +0200 |
---|---|---|
committer | Přemysl Janouch <p.janouch@gmail.com> | 2014-09-23 20:41:47 +0200 |
commit | 0da95bf1c82edd8d5b8e604a825aa222da911430 (patch) | |
tree | 5535eb3e7f600a99bca3122c2c9c6033c0d4c053 /utils.c | |
parent | 7ee3bbc86bd6ca20fafe5c2c1f70adf3116334c9 (diff) | |
download | ponymap-0da95bf1c82edd8d5b8e604a825aa222da911430.tar.gz ponymap-0da95bf1c82edd8d5b8e604a825aa222da911430.tar.xz ponymap-0da95bf1c82edd8d5b8e604a825aa222da911430.zip |
Fix str_append_data()
`void *' is more appropriate here.
Diffstat (limited to 'utils.c')
-rw-r--r-- | utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |