Use a const char * where it is meant to be used. There's no reason to try
to discard the const qualifier here.
This commit is contained in:
parent
a89d0c4dbc
commit
fdbec39885
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=97843
@ -618,7 +618,8 @@ static void
|
||||
printval(char *bp, VAR *v)
|
||||
{
|
||||
static char ofmt[32] = "%";
|
||||
char *fcp, *cp;
|
||||
const char *fcp;
|
||||
char *cp;
|
||||
|
||||
cp = ofmt + 1;
|
||||
fcp = v->fmt;
|
||||
|
Loading…
Reference in New Issue
Block a user