summaryrefslogtreecommitdiff
path: root/src/common/mapindex.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2015-08-07 03:22:00 +0200
committerHaru <haru@dotalux.com>2015-08-15 00:51:40 +0200
commitef207268ed7e5faa399a9af8c694639c9ff1d09f (patch)
tree89c60ddc500620e001d18e1bdd3290ac2bb715b1 /src/common/mapindex.c
parent1f4d2c86b3d9ef894d77f7f47e0c2337fb17738b (diff)
downloadhercules-ef207268ed7e5faa399a9af8c694639c9ff1d09f.tar.gz
hercules-ef207268ed7e5faa399a9af8c694639c9ff1d09f.tar.bz2
hercules-ef207268ed7e5faa399a9af8c694639c9ff1d09f.tar.xz
hercules-ef207268ed7e5faa399a9af8c694639c9ff1d09f.zip
Minor symbols cleanup to avoid conflicts
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common/mapindex.c')
-rw-r--r--src/common/mapindex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/mapindex.c b/src/common/mapindex.c
index 18aa413cc..3d3ef52f1 100644
--- a/src/common/mapindex.c
+++ b/src/common/mapindex.c
@@ -124,7 +124,7 @@ unsigned short mapindex_name2id(const char* name) {
return 0;
}
-const char* mapindex_id2name_sub(unsigned short id,const char *file, int line, const char *func) {
+const char *mapindex_id2name_sub(uint16 id, const char *file, int line, const char *func) {
if (id >= MAX_MAPINDEX || !mapindex_exists(id)) {
ShowDebug("mapindex_id2name: Requested name for non-existant map index [%d] in cache. %s:%s:%d\n", id,file,func,line);
return mapindex->list[0].name; // dummy empty string so that the callee doesn't crash