summaryrefslogtreecommitdiff
path: root/src/common/db.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/db.c')
-rw-r--r--src/common/db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/db.c b/src/common/db.c
index 304165fc2..95a9b3578 100644
--- a/src/common/db.c
+++ b/src/common/db.c
@@ -442,7 +442,7 @@ void db_foreach(struct dbt *table,int (*func)(void*,void*,va_list),...)
sp=0;
while(1){
if (!p->data) {
- printf("Warning: no data for key %d in db_foreach (db.c) !\n",p->key);
+ printf("Warning: no data for key %d in db_foreach (db.c) !\n",(int)p->key);
} else {
func(p->key, p->data, ap);
}