summaryrefslogtreecommitdiff
path: root/src/emap/craft.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emap/craft.c')
-rw-r--r--src/emap/craft.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/emap/craft.c b/src/emap/craft.c
index 59ebfa0..87310e5 100644
--- a/src/emap/craft.c
+++ b/src/emap/craft.c
@@ -47,8 +47,8 @@ static void delete_craft_var(struct craft_vardata *craft)
}
}
-static int delete_craftvar_sub(DBKey key __attribute__ ((unused)),
- DBData *data,
+static int delete_craftvar_sub(union DBKey key __attribute__ ((unused)),
+ struct DBData *data,
va_list args __attribute__ ((unused)))
{
struct craft_vardata *craft = DB->data2ptr(data);
@@ -665,7 +665,7 @@ static int craft_get_recipe(TBL_PC *sd,
init_inventory_copy(sd, &local_inventory[0]);
- DBIterator* iter = db_iterator(craftconf_db);
+ struct DBIterator* iter = db_iterator(craftconf_db);
for (entry = dbi_first(iter); dbi_exists(iter); entry = dbi_next(iter))
{