]> granicus.if.org Git - mutt/commitdiff
Suppress a printf format warning
authorBrendan Cully <brendan@kublai.com>
Mon, 25 Jul 2005 04:31:51 +0000 (04:31 +0000)
committerBrendan Cully <brendan@kublai.com>
Mon, 25 Jul 2005 04:31:51 +0000 (04:31 +0000)
muttlib.c

index 07c81befeea17a1bd1fc269786ed0d6c9bf7e07d..25c224cfa9b85d83632b030c900834296d23d611 100644 (file)
--- a/muttlib.c
+++ b/muttlib.c
@@ -1563,7 +1563,7 @@ int mutt_match_spam_list (const char *s, SPAM_LIST *l, char *text, int x)
     if (regexec (l->rx->rx, s, (size_t) l->nmatch, (regmatch_t *) pmatch, (int) 0) == 0)
     {
       dprint (5, (debugfile, "mutt_match_spam_list: %s matches %s\n", s, l->rx->pattern));
-      dprint (5, (debugfile, "mutt_match_spam_list: %d subs\n", l->rx->rx->re_nsub));
+      dprint (5, (debugfile, "mutt_match_spam_list: %d subs\n", (int)l->rx->rx->re_nsub));
 
       /* Copy template into text, with substitutions. */
       for (p = l->template; *p;)