mirror of
https://github.com/ReactionQuake3/reaction.git
synced 2024-11-10 07:11:36 +00:00
Fixing compiler warnings
This commit is contained in:
parent
94be62d9d9
commit
3355d82f31
1 changed files with 2 additions and 2 deletions
|
@ -2165,7 +2165,7 @@ static void R_LoadSurfaces( lump_t *surfs, lump_t *verts, lump_t *indexLump ) {
|
|||
{
|
||||
//ri.Printf(PRINT_ALL, "Found!\n");
|
||||
if (size != sizeof(float) * 3 * (verts->filelen / sizeof(*dv)))
|
||||
ri.Error(ERR_DROP, "Bad size for %s (%i, expected %i)!\n", filename, size, sizeof(float) * 3 * (verts->filelen / sizeof(*dv)));
|
||||
ri.Error(ERR_DROP, "Bad size for %s (%i, expected %lu)!\n", filename, size, sizeof(float) * 3 * (verts->filelen / sizeof(*dv)));
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -2666,7 +2666,7 @@ void R_LoadLightGrid( lump_t *l ) {
|
|||
|
||||
if (size != sizeof(float) * 6 * numGridPoints)
|
||||
{
|
||||
ri.Error(ERR_DROP, "Bad size for %s (%i, expected %i)!\n", filename, size, sizeof(float) * 6 * numGridPoints);
|
||||
ri.Error(ERR_DROP, "Bad size for %s (%i, expected %lu)!\n", filename, size, sizeof(float) * 6 * numGridPoints);
|
||||
}
|
||||
|
||||
w->hdrLightGrid = ri.Hunk_Alloc(size, h_low);
|
||||
|
|
Loading…
Reference in a new issue