summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHercules.ws <Hercules@efficiently.awesome>2016-02-20 16:00:47 +0100
committerHerculesWSAPI <Hercules@efficiently.awesome>2016-02-20 16:00:47 +0100
commitc235a3034ed8c49bd03bc01a18a9788e802baea4 (patch)
tree678556ec43b986069916abec84a8f9a53a1b2afe
parent71968e6985a2d6798505b84bc7ed22f5c6bfcfac (diff)
downloadhercules-c235a3034ed8c49bd03bc01a18a9788e802baea4.tar.gz
hercules-c235a3034ed8c49bd03bc01a18a9788e802baea4.tar.bz2
hercules-c235a3034ed8c49bd03bc01a18a9788e802baea4.tar.xz
hercules-c235a3034ed8c49bd03bc01a18a9788e802baea4.zip
HPM Hooks Update
Signed-off-by: HerculesWSAPI <Hercules@efficiently.awesome>
-rw-r--r--src/plugins/HPMHooking/HPMHooking_map.Hooks.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
index bc26e2f37..fac51d0bf 100644
--- a/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
+++ b/src/plugins/HPMHooking/HPMHooking_map.Hooks.inc
@@ -2633,11 +2633,11 @@ void HP_bg_final(void) {
}
return;
}
-struct bg_arena* HP_bg_name2arena(char *name) {
+struct bg_arena* HP_bg_name2arena(const char *name) {
int hIndex = 0;
struct bg_arena* retVal___ = NULL;
if( HPMHooks.count.HP_bg_name2arena_pre ) {
- struct bg_arena* (*preHookFunc) (char *name);
+ struct bg_arena* (*preHookFunc) (const char *name);
*HPMforce_return = false;
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_name2arena_pre; hIndex++ ) {
preHookFunc = HPMHooks.list.HP_bg_name2arena_pre[hIndex].func;
@@ -2652,7 +2652,7 @@ struct bg_arena* HP_bg_name2arena(char *name) {
retVal___ = HPMHooks.source.bg.name2arena(name);
}
if( HPMHooks.count.HP_bg_name2arena_post ) {
- struct bg_arena* (*postHookFunc) (struct bg_arena* retVal___, char *name);
+ struct bg_arena* (*postHookFunc) (struct bg_arena* retVal___, const char *name);
for(hIndex = 0; hIndex < HPMHooks.count.HP_bg_name2arena_post; hIndex++ ) {
postHookFunc = HPMHooks.list.HP_bg_name2arena_post[hIndex].func;
retVal___ = postHookFunc(retVal___, name);