From 399cfc4890983d7f65f2016c621910cbdb9f9a48 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Tue, 31 Aug 2010 04:35:13 +0000 Subject: [PATCH] - Fixd MinGW compilation of p_glnodes.cpp. SVN r2650 (trunk) --- src/p_glnodes.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/p_glnodes.cpp b/src/p_glnodes.cpp index d7332def21..382f026b28 100644 --- a/src/p_glnodes.cpp +++ b/src/p_glnodes.cpp @@ -33,13 +33,13 @@ #include #ifdef _MSC_VER #include // for alloca() -#include #endif #ifndef _WIN32 #include #else +#include #define rmdir _rmdir @@ -1201,7 +1201,7 @@ static bool CheckCachedNodes(MapData *map) if (fread(&numlin, 4, 1, f) != 1) goto errorout; numlin = LittleLong(numlin); - if (numlin != numlines) goto errorout; + if ((int)numlin != numlines) goto errorout; if (fread(md5, 1, 16, f) != 16) goto errorout; map->GetChecksum(md5map); @@ -1445,7 +1445,7 @@ void P_SetRenderSector() for(i=0;i