]> git.pond.sub.org Git - empserver/commitdiff
(setstr): Supply missing cast.
authorMarkus Armbruster <armbru@pond.sub.org>
Tue, 11 Jul 2006 18:45:29 +0000 (18:45 +0000)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 11 Jul 2006 18:45:29 +0000 (18:45 +0000)
src/lib/common/xundump.c

index 544567cd79fd3c3567b413ddc93a47cf8d2583ce..8925a8c910ae9a362533d5e70e4f2deed20fb355 100644 (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);
     }