msgbuf.c format not a string warning during make

This commit is contained in:
nobuh 2023-06-07 23:24:44 +09:00
parent d47be2dd9e
commit c0f43127cc

View File

@ -45,7 +45,7 @@ void print_msgbuf(char *s)
"%-40s",
s);
werase(msgbuf);
wprintw(msgbuf, msg);
wprintw(msgbuf, "%s", msg);
wrefresh(msgbuf);
}