From 3b98360a902ae1d5b3b0ab40d8fd1c9f780360f0 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 3 May 1999 03:58:50 +0000 Subject: Cast sprintf args in sink.c to expected types (to avoid problems on systems where pid_t is not int) (John Bley ) svn path=/trunk/; revision=2465 --- sink.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sink.c') 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(); -- cgit v1.2.3