summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/emap/pc.c2
-rw-r--r--src/emap/pc.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/emap/pc.c b/src/emap/pc.c
index a11d2b7..cd8ef2f 100644
--- a/src/emap/pc.c
+++ b/src/emap/pc.c
@@ -411,7 +411,7 @@ int epc_setnewpc_post(int retVal,
int epc_additem_post(int retVal,
struct map_session_data *sd,
- struct item *item_data,
+ const struct item *item_data,
int amount __attribute__ ((unused)),
e_log_pick_type log_type __attribute__ ((unused)))
{
diff --git a/src/emap/pc.h b/src/emap/pc.h
index 4d227b4..d5c59bf 100644
--- a/src/emap/pc.h
+++ b/src/emap/pc.h
@@ -61,7 +61,7 @@ int epc_setnewpc_post(int retVal,
int epc_additem_post(int retVal,
struct map_session_data *sd,
- struct item *item_data,
+ const struct item *item_data,
int amount,
e_log_pick_type log_type);