diff --git a/src/p_glnodes.cpp b/src/p_glnodes.cpp index d7332def2..382f026b2 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