Fix taint-checking on OpenBSD
[exim.git] / src / src / verify.c
index a1276068b0ab3de5279474db34a3006d36c01585..4422b4ad109bed885ca8063ab25c4db237f289b9 100644 (file)
@@ -2349,7 +2349,7 @@ for (header_line * h = header_list; h; h = h->next)
     if ((*s < 33) || (*s > 126))
       {
       *msgptr = string_sprintf("Invalid character in header \"%.*s\" found",
-                            colon - h->text, h->text);
+                            (int)(colon - h->text), h->text);
       return FAIL;
       }
   }