- Fixed copy pasta errors in autosegs.h and other problems for GCC.
SVN r1404 (trunk)
This commit is contained in:
parent
7ee11638f2
commit
70aa9cb92a
4 changed files with 9 additions and 8 deletions
|
|
@ -214,7 +214,7 @@ CCMD (mapchecksum)
|
|||
{
|
||||
Printf("Usage: mapchecksum <map> ...\n");
|
||||
}
|
||||
for (unsigned int i = 1; i < argv.argc(); ++i)
|
||||
for (int i = 1; i < argv.argc(); ++i)
|
||||
{
|
||||
map = P_OpenMapData(argv[i]);
|
||||
if (map == NULL)
|
||||
|
|
@ -225,7 +225,7 @@ CCMD (mapchecksum)
|
|||
{
|
||||
map->GetChecksum(cksum);
|
||||
delete map;
|
||||
for (int j = 0; j < sizeof(cksum); ++j)
|
||||
for (size_t j = 0; j < sizeof(cksum); ++j)
|
||||
{
|
||||
Printf("%02X", cksum[j]);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue