From 3355d82f31bf22f742470284cb8724b0cc438ac4 Mon Sep 17 00:00:00 2001 From: Richard Allen Date: Sat, 13 Oct 2012 17:14:14 +0000 Subject: [PATCH] Fixing compiler warnings --- reaction/code/renderergl2/tr_bsp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reaction/code/renderergl2/tr_bsp.c b/reaction/code/renderergl2/tr_bsp.c index c411577e..e510635f 100644 --- a/reaction/code/renderergl2/tr_bsp.c +++ b/reaction/code/renderergl2/tr_bsp.c @@ -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);