]> git.marmaro.de Git - mmh/blobdiff - sbr/mf.c
Fix used-uninitialised warning in fmt_rfc2047.c
[mmh] / sbr / mf.c
index 2559b678dbd18e6e3d2e786385d55d67c0658a0c..fd92e369590b799d4785eb16fc13e5587cc900ea 100644 (file)
--- a/sbr/mf.c
+++ b/sbr/mf.c
@@ -2,8 +2,6 @@
 /*
  * mf.c -- mail filter subroutines
  *
- * $Id$
- *
  * This code is Copyright (c) 2002, by the authors of nmh.  See the
  * COPYRIGHT file in the root directory of the nmh distribution for
  * complete copyright information.
@@ -421,7 +419,7 @@ getadrx (char *addrs)
     while (isspace (*ap))
        ap++;
     if (cp)
-       sprintf (adr, "%.*s", cp - ap, ap);
+       sprintf (adr, "%.*s", (int)(cp - ap), ap);
     else
        strcpy (adr, ap);
     bp = adr + strlen (adr) - 1;