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:
jmallett 2002-06-05 01:02:13 +00:00
parent 3139a6b754
commit 4dd8bac65f

View File

@ -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;