From a2311e518b27fb76f05e94b57761b60c8a549060 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Thu, 9 May 2002 20:08:57 +0000 Subject: [PATCH] warnings removed (const void *) --- src/common/spells/regioncurse.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/common/spells/regioncurse.c b/src/common/spells/regioncurse.c index 3ec16c8fe..fb57d504d 100644 --- a/src/common/spells/regioncurse.c +++ b/src/common/spells/regioncurse.c @@ -56,7 +56,7 @@ cinfo_region(const struct locale * lang, const void * obj, typ_t typ, struct cur /* godcursezone */ static int -cinfo_cursed_by_the_gods(const locale * lang,void * obj, typ_t typ, curse *c, int self) +cinfo_cursed_by_the_gods(const locale * lang, const void * obj, typ_t typ, curse *c, int self) { region *r; message * msg; @@ -78,7 +78,7 @@ cinfo_cursed_by_the_gods(const locale * lang,void * obj, typ_t typ, curse *c, in } /* C_GBDREAM, */ static int -cinfo_dreamcurse(const locale * lang,void * obj, typ_t typ, curse *c, int self) +cinfo_dreamcurse(const locale * lang, const void * obj, typ_t typ, curse *c, int self) { message * msg; @@ -99,7 +99,7 @@ cinfo_dreamcurse(const locale * lang,void * obj, typ_t typ, curse *c, int self) } /* C_MAGICSTREET */ static int -cinfo_magicstreet(const locale * lang,void * obj, typ_t typ, curse *c, int self) +cinfo_magicstreet(const locale * lang, const void * obj, typ_t typ, curse *c, int self) { message * msg; @@ -121,7 +121,7 @@ cinfo_magicstreet(const locale * lang,void * obj, typ_t typ, curse *c, int self) return 1; } static int -cinfo_antimagiczone(const locale * lang,void * obj, typ_t typ, curse *c, int self) +cinfo_antimagiczone(const locale * lang, const void * obj, typ_t typ, curse *c, int self) { message * msg; @@ -142,7 +142,7 @@ cinfo_antimagiczone(const locale * lang,void * obj, typ_t typ, curse *c, int sel return 0; } static int -cinfo_farvision(const locale * lang,void * obj, typ_t typ, curse *c, int self) +cinfo_farvision(const locale * lang, const void * obj, typ_t typ, curse *c, int self) { message * msg;