diff options
author | (no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-01-24 00:15:41 +0000 |
---|---|---|
committer | (no author) <(no author)@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2005-01-24 00:15:41 +0000 |
commit | 60c5d7f50c39c55f1ac7121fb1391e4c49966824 (patch) | |
tree | 714f721dbbf90725784b75d8ac89e236d5072d9a /src/map/map.c | |
parent | 4426eb53903895faa1e3db6c7db6c75716906dd1 (diff) | |
download | hercules-60c5d7f50c39c55f1ac7121fb1391e4c49966824.tar.gz hercules-60c5d7f50c39c55f1ac7121fb1391e4c49966824.tar.bz2 hercules-60c5d7f50c39c55f1ac7121fb1391e4c49966824.tar.xz hercules-60c5d7f50c39c55f1ac7121fb1391e4c49966824.zip |
Some more changes for g++
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@972 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/map.c')
-rw-r--r-- | src/map/map.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/map/map.c b/src/map/map.c index dc92d4113..00643faca 100644 --- a/src/map/map.c +++ b/src/map/map.c @@ -1521,14 +1521,16 @@ struct MAP_CACHE_INFO { int compressed_len; // zilb通せるようにする為の予約 }; // 56 byte -struct { - struct MAP_CACHE_HEAD { - int sizeof_header; - int sizeof_map; - // 上の2つ改変不可 - int nmaps; // マップの個数 - int filesize; - } head; +struct MAP_CACHE_HEAD { + int sizeof_header; + int sizeof_map; + // 上の2つ改変不可 + int nmaps; // マップの個数 + int filesize; +}; + +struct map_cache_ { + struct MAP_CACHE_HEAD head; struct MAP_CACHE_INFO *map; FILE *fp; int dirty; |