diff options
author | Rainer Gerhards <rgerhards@adiscon.com> | 2008-03-06 16:05:44 +0000 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2008-03-06 16:05:44 +0000 |
commit | b571fdc61aa16878226c8aede4d12b0df2c69c23 (patch) | |
tree | 17c8356c7fe930ac60d3a2e57ea08cfc33e3b4de /action.c | |
parent | 96ff31f5bfb75741115bf8586a7691efaa7bd06c (diff) | |
download | rsyslog-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |