summaryrefslogtreecommitdiff
path: root/src/common/db.c
diff options
context:
space:
mode:
authormc_cameri <mc_cameri@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-17 10:53:38 +0000
committermc_cameri <mc_cameri@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-17 10:53:38 +0000
commitc2ab3377eafb9f941344a388f038ecec45f87f9c (patch)
treef7ae5e037faadf0c47e25c706d5a5b8c9486365a /src/common/db.c
parenta89c7dda8ac0eded573e3c24d59684d15957646d (diff)
downloadhercules-c2ab3377eafb9f941344a388f038ecec45f87f9c.tar.gz
hercules-c2ab3377eafb9f941344a388f038ecec45f87f9c.tar.bz2
hercules-c2ab3377eafb9f941344a388f038ecec45f87f9c.tar.xz
hercules-c2ab3377eafb9f941344a388f038ecec45f87f9c.zip
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@595 54d463be-8e91-2dee-dedb-b68131a5f0ec
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);
}