summaryrefslogtreecommitdiff
path: root/src/map/map.c
diff options
context:
space:
mode:
authorai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-22 14:06:37 +0000
committerai4rei <ai4rei@54d463be-8e91-2dee-dedb-b68131a5f0ec>2010-12-22 14:06:37 +0000
commit7e475e75934820e41b9cdff14d69ef75ad446da5 (patch)
tree66ca60af89b02f055515e19f83935299c36c2b75 /src/map/map.c
parent8e24391458a6584315c33a3a8423358d9f65785f (diff)
downloadhercules-7e475e75934820e41b9cdff14d69ef75ad446da5.tar.gz
hercules-7e475e75934820e41b9cdff14d69ef75ad446da5.tar.bz2
hercules-7e475e75934820e41b9cdff14d69ef75ad446da5.tar.xz
hercules-7e475e75934820e41b9cdff14d69ef75ad446da5.zip
* Resolved random compiler warnings.
- Silenced pointer size mismatch gcc warning for variables passed to script_setarray_pc (bugreport:4661, since r14613). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14615 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-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 be2c53526..b052cd7bc 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -2906,7 +2906,7 @@ int map_readallmaps (void)
int i;
FILE* fp=NULL;
int maps_removed = 0;
- unsigned char *map_cache_buffer; // Has the uncompressed gat data of all maps, so just one allocation has to be made
+ unsigned char *map_cache_buffer = NULL; // Has the uncompressed gat data of all maps, so just one allocation has to be made
unsigned char map_cache_decode_buffer[MAX_MAP_SIZE];
if( enable_grf )