summaryrefslogtreecommitdiff
path: root/src/common/mapindex.c
diff options
context:
space:
mode:
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 be6580ae5..01489ce93 100644
--- a/src/common/mapindex.c
+++ b/src/common/mapindex.c
@@ -68,7 +68,7 @@ static int mapindex_addmap(int index, const char *name)
return 1;
}
-unsigned short mapindex_name2id(char* name) {
+unsigned short mapindex_name2id(const char* name) {
//TODO: Perhaps use a db to speed this up? [Skotlex]
int i;
int length = strlen(name);