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
3139a6b754
commit
4dd8bac65f
@ -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