X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/mLib/blobdiff_plain/18c831dcd0ae4d660c70ccac69d27ed2a97851be..897c58ad7408d8001e63fcc2ca8e598c9811a539:/struct/dstr.c diff --git a/struct/dstr.c b/struct/dstr.c index 3072c57..7e154ae 100644 --- a/struct/dstr.c +++ b/struct/dstr.c @@ -118,14 +118,14 @@ void dstr_ensure(dstr *d, size_t sz) /* --- @dstr_putc@ --- * * * Arguments: @dstr *d@ = pointer to a dynamic string block - * @char ch@ = character to append + * @int ch@ = character to append * * Returns: --- * * Use: Appends a character to a string. */ -void dstr_putc(dstr *d, char ch) { DPUTC(d, ch); } +void dstr_putc(dstr *d, int ch) { DPUTC(d, ch); } /* --- @dstr_putz@ --- * *