From: Thibault Godouet Date: Tue, 5 Jun 2001 10:17:56 +0000 (+0000) Subject: added a (int) to avoid a warning message X-Git-Tag: ver2_9_4~322 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b44f0f3da1401e4ac8070f2fcec5d8b75120d495;p=thirdparty%2Ffcron.git added a (int) to avoid a warning message --- diff --git a/fcron.c b/fcron.c index ba6f194..5f9d7be 100644 --- a/fcron.c +++ b/fcron.c @@ -21,11 +21,11 @@ * `LICENSE' that comes with the fcron source distribution. */ - /* $Id: fcron.c,v 1.47 2001-05-29 19:10:10 thib Exp $ */ + /* $Id: fcron.c,v 1.48 2001-06-05 10:17:56 thib Exp $ */ #include "fcron.h" -char rcs_info[] = "$Id: fcron.c,v 1.47 2001-05-29 19:10:10 thib Exp $"; +char rcs_info[] = "$Id: fcron.c,v 1.48 2001-06-05 10:17:56 thib Exp $"; void main_loop(void); void check_signal(void); @@ -208,7 +208,7 @@ get_lock() foreground = foreopt; rewind(daemon_lockfp); - fprintf(daemon_lockfp, "%d\n", daemon_pid); + fprintf(daemon_lockfp, "%d\n", (int) daemon_pid); fflush(daemon_lockfp); ftruncate(fileno(daemon_lockfp), ftell(daemon_lockfp));