aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1999-05-03 03:58:50 +0000
committerEric S. Raymond <esr@thyrsus.com>1999-05-03 03:58:50 +0000
commit3b98360a902ae1d5b3b0ab40d8fd1c9f780360f0 (patch)
tree1057572a6394a04de64ff86d5a2425f45baa28f1
parenta00e041d49a230e41877e0207dbab269bd67fa2d (diff)
downloadfetchmail-3b98360a902ae1d5b3b0ab40d8fd1c9f780360f0.tar.gz
fetchmail-3b98360a902ae1d5b3b0ab40d8fd1c9f780360f0.tar.bz2
fetchmail-3b98360a902ae1d5b3b0ab40d8fd1c9f780360f0.zip
Cast sprintf args in sink.c to expected types (to avoid problems on
systems where pid_t is not int) (John Bley <jbb6@acpub.duke.edu>) svn path=/trunk/; revision=2465
-rw-r--r--sink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sink.c b/sink.c
index 49d4a6aa..0421f2c7 100644
--- a/sink.c
+++ b/sink.c
@@ -282,7 +282,7 @@ static int send_bouncemail(struct query *ctl, struct msgblk *msg,
sprintf(boundary,
"om-mani-padme-hum-%d-%d-%ld",
- getpid(), getppid(), time((time_t *)NULL));
+ (int)getpid(), (int)getppid(), time((time_t *)NULL));
ts = rfc822timestamp();