From 2119e557dc5c69b389698c59c1a1b5d62b14a323 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Tue, 11 Jul 2006 18:45:29 +0000 Subject: [PATCH] (setstr): Supply missing cast. --- src/lib/common/xundump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/common/xundump.c b/src/lib/common/xundump.c index 544567cd..8925a8c9 100644 --- a/src/lib/common/xundump.c +++ b/src/lib/common/xundump.c @@ -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); }