]> Pileus Git - ~andy/fetchmail/commitdiff
Cast sprintf args in sink.c to expected types (to avoid problems on
authorEric S. Raymond <esr@thyrsus.com>
Mon, 3 May 1999 03:58:50 +0000 (03:58 -0000)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 3 May 1999 03:58:50 +0000 (03:58 -0000)
systems where pid_t is not int) (John Bley <jbb6@acpub.duke.edu>)

svn path=/trunk/; revision=2465

sink.c

diff --git a/sink.c b/sink.c
index 49d4a6aa948ecb410e56dd20fead10b5c0f96943..0421f2c726015654dd5bfa96a14b810ae2e1657e 100644 (file)
--- 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();