suppress compile warnings
This commit is contained in:
parent
b2687481d6
commit
b0777c2075
|
|
@ -1227,7 +1227,7 @@ LoadBSPFile(char *filename, bspdata_t *bspdata)
|
|||
/*okay, so that's where it *should* be if it exists */
|
||||
if (bspxofs + sizeof(*bspx) <= flen)
|
||||
{
|
||||
uint32_t xlumps;
|
||||
int xlumps;
|
||||
const bspx_lump_t *xlump;
|
||||
bspx = (const bspx_header_t*)((const byte*)header + bspxofs);
|
||||
xlump = (const bspx_lump_t*)(bspx+1);
|
||||
|
|
@ -1561,7 +1561,7 @@ PrintBSPFileSizes(const bspdata_t *bspdata)
|
|||
{
|
||||
bspxentry_t *x;
|
||||
for (x = bspdata->bspxentries; x; x = x->next) {
|
||||
logprint("%7s %-12s %10i\n", "BSPX", x->lumpname, x->lumpsize);
|
||||
logprint("%7s %-12s %10i\n", "BSPX", x->lumpname, (int)x->lumpsize);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1284,7 +1284,7 @@ WriteEntitiesToString(bsp2_t *bsp)
|
|||
epair->key, value);
|
||||
|
||||
if (parse_escape_sequences) {
|
||||
free(value);
|
||||
free((void *)value);
|
||||
}
|
||||
|
||||
pos += length;
|
||||
|
|
|
|||
Loading…
Reference in New Issue