diff --git a/tests/misc/c2str.c b/tests/misc/c2str.c index 9a6ab0da..71f242bc 100644 --- a/tests/misc/c2str.c +++ b/tests/misc/c2str.c @@ -36,7 +36,7 @@ int isspc(int c) int main(int argc, char **argv) { - unsigned char l[1000], l2[1000], *p, *q, *p0; + char l[1000], l2[1000], *p, *q, *p0; FILE *fp, *op; int c, e, f, cmt, cmt_n; const char *r; @@ -84,7 +84,7 @@ int main(int argc, char **argv) if (cmt) { fprintf(op, "%s", l); if (++cmt_n == 1) - fprintf(op, " (converted, do not edit this file)", l); + fprintf(op, " (converted, do not edit this file)"); fprintf(op, "\n"); if (cmt == 1) cmt = 0;