From 7fd9e649fbcdef4abe7e9e77c24871e485262ca3 Mon Sep 17 00:00:00 2001 From: Haru Date: Mon, 22 Feb 2016 01:26:28 +0100 Subject: Updated inter_pet->tosql() and mapif->save_pet() to work with const data Signed-off-by: Haru --- src/char/int_pet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/char/int_pet.h') diff --git a/src/char/int_pet.h b/src/char/int_pet.h index 07a273eac..3eb19d656 100644 --- a/src/char/int_pet.h +++ b/src/char/int_pet.h @@ -30,7 +30,7 @@ struct s_pet; **/ struct inter_pet_interface { struct s_pet *pt; - int (*tosql) (int pet_id, struct s_pet* p); + int (*tosql) (const struct s_pet *p); int (*fromsql) (int pet_id, struct s_pet* p); int (*sql_init) (void); void (*sql_final) (void); -- cgit v1.2.3-60-g2f50