summaryrefslogtreecommitdiffstats
path: root/runtime/msg.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2010-10-19 12:39:48 +0200
committerRainer Gerhards <rgerhards@adiscon.com>2010-10-19 12:39:48 +0200
commit0a24b3afc093e16038da170458e2ecb68b363bdd (patch)
tree5100ee6753a221a079e332e52613845471bfc92f /runtime/msg.c
parent7cdc7cbaa055c84b463d5fba4457036e249828a1 (diff)
downloadrsyslog-0a24b3afc093e16038da170458e2ecb68b363bdd.tar.gz
rsyslog-0a24b3afc093e16038da170458e2ecb68b363bdd.tar.xz
rsyslog-0a24b3afc093e16038da170458e2ecb68b363bdd.zip
fixing some compile problems on FreeBSD
Diffstat (limited to 'runtime/msg.c')
-rw-r--r--runtime/msg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/msg.c b/runtime/msg.c
index 91057f97..f5041b85 100644
--- a/runtime/msg.c
+++ b/runtime/msg.c
@@ -2484,7 +2484,7 @@ uchar *MsgGetProp(msg_t *pMsg, struct templateEntry *pTpe,
bFound = 1;
} else {
dbgprintf("regex found at offset %d, new offset %d, tries %d\n",
- iOffs, iOffs + pmatch[0].rm_eo, iTry);
+ iOffs, (int) (iOffs + pmatch[0].rm_eo), iTry);
iOffs += pmatch[0].rm_eo;
++iTry;
}