From 1bd690c8c210acc0974f3da991147fdf901aa692 Mon Sep 17 00:00:00 2001 From: hendricks266 Date: Tue, 10 Sep 2019 23:34:51 +0000 Subject: [PATCH] Fix warning in clip.cpp git-svn-id: https://svn.eduke32.com/eduke32@8092 1a8010ca-5511-0410-912e-c29ae57300e0 --- source/build/src/clip.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/build/src/clip.cpp b/source/build/src/clip.cpp index 6c03bb8ce..e48ff4816 100644 --- a/source/build/src/clip.cpp +++ b/source/build/src/clip.cpp @@ -788,7 +788,7 @@ static FORCE_INLINE void clipmove_tweak_pos(const vec3_t *pos, int32_t gx, int32 // Returns: should clip? static int cliptestsector(int const dasect, int const nextsect, int32_t const flordist, int32_t const ceildist, vec2_t const pos, int32_t const posz) { - Bassert((unsigned)dasect < numsectors && (unsigned)nextsect < numsectors); + Bassert((unsigned)dasect < (unsigned)numsectors && (unsigned)nextsect < (unsigned)numsectors); auto const sec2 = (usectorptr_t)§or[nextsect];