(setstr): Supply missing cast.
This commit is contained in:
parent
c72edef30f
commit
2119e557dc
1 changed files with 1 additions and 1 deletions
|
@ -551,7 +551,7 @@ setstr(int fldno, char *str)
|
||||||
if (must_match) {
|
if (must_match) {
|
||||||
if (old && (!str || strncmp(old, str, len)))
|
if (old && (!str || strncmp(old, str, len)))
|
||||||
return gripe("Value for field %d must be \"%.*s\"",
|
return gripe("Value for field %d must be \"%.*s\"",
|
||||||
fldno + 1, len, old);
|
fldno + 1, (int)len, old);
|
||||||
if (!old && str)
|
if (!old && str)
|
||||||
return gripe("Value for field %d must be nil", fldno + 1);
|
return gripe("Value for field %d must be nil", fldno + 1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue