diff options
Diffstat (limited to 'src/common/mapindex.c')
-rw-r--r-- | src/common/mapindex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/mapindex.c b/src/common/mapindex.c index d0843017e..070326463 100644 --- a/src/common/mapindex.c +++ b/src/common/mapindex.c @@ -106,7 +106,7 @@ void mapindex_init(void) { int index; char map_name[1024]; - malloc_tsetdword (&indexes, 0, sizeof (indexes)); + memset (&indexes, 0, sizeof (indexes)); fp=fopen(mapindex_cfgfile,"r"); if(fp==NULL){ ShowFatalError("Unable to read mapindex config file %s!\n", mapindex_cfgfile); |