summaryrefslogtreecommitdiffstats
path: root/action.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2008-03-06 16:05:44 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2008-03-06 16:05:44 +0000
commitb571fdc61aa16878226c8aede4d12b0df2c69c23 (patch)
tree17c8356c7fe930ac60d3a2e57ea08cfc33e3b4de /action.c
parent96ff31f5bfb75741115bf8586a7691efaa7bd06c (diff)
downloadrsyslog-b571fdc61aa16878226c8aede4d12b0df2c69c23.tar.gz
rsyslog-b571fdc61aa16878226c8aede4d12b0df2c69c23.tar.xz
rsyslog-b571fdc61aa16878226c8aede4d12b0df2c69c23.zip
fixed some compiler warnings under FreeBSD
Diffstat (limited to 'action.c')
-rw-r--r--action.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/action.c b/action.c
index aa0b2f52..b4ec5651 100644
--- a/action.c
+++ b/action.c
@@ -615,7 +615,7 @@ actionCallAction(action_t *pAction, msg_t *pMsg)
!strcmp(getAPPNAME(pMsg), getAPPNAME(pAction->f_pMsg))) {
pAction->f_prevcount++;
dbgprintf("msg repeated %d times, %ld sec of %d.\n",
- pAction->f_prevcount, time(NULL) - pAction->f_time,
+ pAction->f_prevcount, (long) time(NULL) - pAction->f_time,
repeatinterval[pAction->f_repeatcount]);
/* use current message, so we have the new timestamp (means we need to discard previous one) */
msgDestruct(&pAction->f_pMsg);