aboutsummaryrefslogtreecommitdiffhomepage
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index dc4cd5d..c697f0d 100644
--- a/io.c
+++ b/io.c
@@ -261,7 +261,7 @@ pritypeafter(struct wbuf *buf, union type ty, int qual)
td = &typedata[ty.dat];
n += bputc(buf, '(');
for (int i = 0; i < td->nmemb; ++i) {
- n += bfmt(buf, "%tq", td->param[i], tdgetqual(td->quals, i));
+ n += bfmt(buf, "%ty", td->param[i]);
if (i < td->nmemb - 1 || td->variadic)
n += bwriteS(buf, ", ");
}