sys/fdpass.c: Allocate extra cmsg space to hack around a Qemu bug.
[mLib] / struct / dstr.c
index 3072c57..7e154ae 100644 (file)
@@ -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@ --- *
  *