summaryrefslogtreecommitdiffstats
path: root/modules.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 /modules.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 'modules.c')
-rw-r--r--modules.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules.c b/modules.c
index 36847373..83e9c560 100644
--- a/modules.c
+++ b/modules.c
@@ -323,11 +323,11 @@ void modPrintList(void)
}
dbgprintf(" module.\n");
dbgprintf("Entry points:\n");
- dbgprintf("\tqueryEtryPt: 0x%x\n", (unsigned) pMod->modQueryEtryPt);
- dbgprintf("\tdoAction: 0x%x\n", (unsigned) pMod->mod.om.doAction);
- dbgprintf("\tparseSelectorAct: 0x%x\n", (unsigned) pMod->mod.om.parseSelectorAct);
- dbgprintf("\tdbgPrintInstInfo: 0x%x\n", (unsigned) pMod->dbgPrintInstInfo);
- dbgprintf("\tfreeInstance: 0x%x\n", (unsigned) pMod->freeInstance);
+ dbgprintf("\tqueryEtryPt: 0x%lx\n", (unsigned long) pMod->modQueryEtryPt);
+ dbgprintf("\tdoAction: 0x%lx\n", (unsigned long) pMod->mod.om.doAction);
+ dbgprintf("\tparseSelectorAct: 0x%lx\n", (unsigned long) pMod->mod.om.parseSelectorAct);
+ dbgprintf("\tdbgPrintInstInfo: 0x%lx\n", (unsigned long) pMod->dbgPrintInstInfo);
+ dbgprintf("\tfreeInstance: 0x%lx\n", (unsigned long) pMod->freeInstance);
dbgprintf("\n");
pMod = modGetNxt(pMod); /* done, go next */
}