summaryrefslogtreecommitdiffstats
path: root/cfsysline.c
diff options
context:
space:
mode:
authorRainer Gerhards <rgerhards@adiscon.com>2007-12-07 13:27:52 +0000
committerRainer Gerhards <rgerhards@adiscon.com>2007-12-07 13:27:52 +0000
commitc67fe91bed88d9b178f3e21f1a4b44e4cd484359 (patch)
tree8ce16e7a24e16b37784748463f4c0f7aea3366e7 /cfsysline.c
parent1847d2d61d5c6da611203a3561d2b26c132d7bf5 (diff)
downloadrsyslog-c67fe91bed88d9b178f3e21f1a4b44e4cd484359.tar.gz
rsyslog-c67fe91bed88d9b178f3e21f1a4b44e4cd484359.tar.xz
rsyslog-c67fe91bed88d9b178f3e21f1a4b44e4cd484359.zip
fixed some type conversion warnings that appeared on 64 bit machines -
these were in debug statements, so indicated no real problem
Diffstat (limited to 'cfsysline.c')
-rw-r--r--cfsysline.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/cfsysline.c b/cfsysline.c
index 196dc254..14f50927 100644
--- a/cfsysline.c
+++ b/cfsysline.c
@@ -780,9 +780,9 @@ void dbgPrintCfSysLineHandlers(void)
llCookieCmdHdlr = NULL;
while((iRet = llGetNextElt(&pCmd->llCmdHdlrs, &llCookieCmdHdlr, (void*)&pCmdHdlr)) == RS_RET_OK) {
printf("\t\ttype : %d\n", pCmdHdlr->eType);
- printf("\t\tpData: 0x%x\n", (unsigned) pCmdHdlr->pData);
- printf("\t\tHdlr : 0x%x\n", (unsigned) pCmdHdlr->cslCmdHdlr);
- printf("\t\tOwner: 0x%x\n", (unsigned) llCookieCmdHdlr->pKey);
+ printf("\t\tpData: 0x%lx\n", (unsigned long) pCmdHdlr->pData);
+ printf("\t\tHdlr : 0x%lx\n", (unsigned long) pCmdHdlr->cslCmdHdlr);
+ printf("\t\tOwner: 0x%lx\n", (unsigned long) llCookieCmdHdlr->pKey);
printf("\n");
}
}