From 7c54b09c5133ca0da6079c590032891ac8638abf Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Tue, 20 Sep 2011 14:26:37 -0700 Subject: Fix a stupid bug caused by the C programming language. --- src/map/map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3-60-g2f50