- Fixed copy pasta errors in autosegs.h and other problems for GCC.

SVN r1404 (trunk)
This commit is contained in:
Randy Heit 2009-02-05 04:18:08 +00:00
commit 70aa9cb92a
4 changed files with 9 additions and 8 deletions

View file

@ -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]);
}