From 4ad32989a574741a9d64fe4e91c692a089db23dc Mon Sep 17 00:00:00 2001 From: Loring Holden Date: Sun, 7 May 2000 04:58:50 +0000 Subject: [PATCH] R_SetupFrame() - cast parameters to Con_Printf() to int to avoid warnings under AIX --- common/r_misc.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/r_misc.c b/common/r_misc.c index cf58ae1..0d8da4e 100644 --- a/common/r_misc.c +++ b/common/r_misc.c @@ -483,8 +483,10 @@ void R_SetupFrame (void) if ((surface_p - surfaces) > r_maxsurfsseen) r_maxsurfsseen = surface_p - surfaces; - Con_Printf ("Used %d of %d surfs; %d max\n", surface_p - surfaces, - surf_max - surfaces, r_maxsurfsseen); + Con_Printf ("Used %d of %d surfs; %d max\n", + (int) (surface_p - surfaces), + (int) (surf_max - surfaces), + r_maxsurfsseen); } if (r_numedges->value)