summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2011-09-20 14:26:37 -0700
committerBen Longbons <b.r.longbons@gmail.com>2011-09-20 14:26:37 -0700
commit7c54b09c5133ca0da6079c590032891ac8638abf (patch)
tree4d543021fa5cd839fb97e8b05a8711e5aa75215e
parente2df948b8aa425b81cb9fbdb39d5262e6be4f8cf (diff)
downloadtmwa-7c54b09c5133ca0da6079c590032891ac8638abf.tar.gz
tmwa-7c54b09c5133ca0da6079c590032891ac8638abf.tar.bz2
tmwa-7c54b09c5133ca0da6079c590032891ac8638abf.tar.xz
tmwa-7c54b09c5133ca0da6079c590032891ac8638abf.zip
Fix a stupid bug caused by the C programming language.
-rw-r--r--src/map/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c
index fdc97e7..4f661af 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -1664,7 +1664,7 @@ static int map_readmap (int m, char *fn, char *alias)
size_t size;
// read & convert fn
- uint8_t gat = (uint8_t *)grfio_read (fn);
+ uint8_t *gat = (uint8_t *)grfio_read (fn);
if (gat == NULL)
return -1;