(setstr): Supply missing cast.

This commit is contained in:
Markus Armbruster 2006-07-11 18:45:29 +00:00
parent c72edef30f
commit 2119e557dc

View file

@ -551,7 +551,7 @@ setstr(int fldno, char *str)
if (must_match) {
if (old && (!str || strncmp(old, str, len)))
return gripe("Value for field %d must be \"%.*s\"",
fldno + 1, len, old);
fldno + 1, (int)len, old);
if (!old && str)
return gripe("Value for field %d must be nil", fldno + 1);
}