summaryrefslogtreecommitdiffstats
path: root/omfwd.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 /omfwd.c
parent96ff31f5bfb75741115bf8586a7691efaa7bd06c (diff)
downloadrsyslog-b571fdc61aa16878226c8aede4d12b0df2c69c23.tar.gz
rsyslog-b571fdc61aa16878226c8aede4d12b0df2c69c23.tar.xz
rsyslog-b571fdc61aa16878226c8aede4d12b0df2c69c23.zip
fixed some compiler warnings under FreeBSD
Diffstat (limited to 'omfwd.c')
-rw-r--r--omfwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/omfwd.c b/omfwd.c
index 84f3fdc7..a9fed18c 100644
--- a/omfwd.c
+++ b/omfwd.c
@@ -239,7 +239,7 @@ static rsRetVal TCPSendFrame(void *pvData, char *msg, size_t len)
* For the time being, we ignore this...
* rgerhards, 2005-10-25
*/
- dbgprintf("message not completely (tcp)send, ignoring %ld\n", lenSend);
+ dbgprintf("message not completely (tcp)send, ignoring %ld\n", (long) lenSend);
usleep(1000); /* experimental - might be benefitial in this situation */
/* TODO: we need to revisit this code -- rgerhards, 2007-12-28 */
}