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
@ -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…
x
Reference in New Issue
Block a user