summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog.txt2
-rw-r--r--src/map/map.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Changelog.txt b/Changelog.txt
index 5253c806c..e424cf83c 100644
--- a/Changelog.txt
+++ b/Changelog.txt
@@ -1,7 +1,7 @@
Date Added
01/23
- * Reverted back some of the char* changes [SVN 969] [Ajarn]
+ * Reverted back some of the char* changes [SVN 970] [Ajarn]
* Changed parse_script to now return char* [SVN 969] [Ajarn]
* Converted run_script and run_script_main from unsigned char* to char*
[SVN 969] [Ajarn]
diff --git a/src/map/map.c b/src/map/map.c
index f4124eab8..dc92d4113 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1939,7 +1939,7 @@ static int map_readmap(int m,char *fn, char *alias, int *map_cache, int maxmap)
xs=map[m].xs=*(int*)(gat+6);
ys=map[m].ys=*(int*)(gat+10);
- map[m].gat = (char *)aCallocA(s = map[m].xs * map[m].ys,sizeof(char));
+ map[m].gat = (unsigned char *)aCallocA(s = map[m].xs * map[m].ys,sizeof(unsigned char));
wh=map_waterheight(map[m].name);
for(y=0;y<ys;y++){
p=(struct gat_1cell*)(gat+y*xs*20+14);