From 8c9e9668cef87ab9595bde6608de424072cc752d Mon Sep 17 00:00:00 2001 From: Haru Date: Fri, 19 Feb 2016 18:46:18 +0100 Subject: Added const qualifier to the value argument of script->setd_sub Signed-off-by: Haru --- src/map/script.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/script.h') diff --git a/src/map/script.h b/src/map/script.h index 9eb473f03..b8e9d1997 100644 --- a/src/map/script.h +++ b/src/map/script.h @@ -692,7 +692,7 @@ struct script_interface { int (*add_str) (const char* p); const char* (*get_str) (int id); int (*search_str) (const char* p); - void (*setd_sub) (struct script_state *st, struct map_session_data *sd, const char *varname, int elem, void *value, struct reg_db *ref); + void (*setd_sub) (struct script_state *st, struct map_session_data *sd, const char *varname, int elem, const void *value, struct reg_db *ref); void (*attach_state) (struct script_state* st); /* */ struct script_queue *(*queue) (int idx); -- cgit v1.2.3-70-g09d2