From 3bf797d72e5550fa42f3b4f32f26e8920d0489f0 Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Fri, 10 Jun 2022 21:35:01 -0600 Subject: [PATCH] bspfile: build fix --- common/bspfile.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/bspfile.cc b/common/bspfile.cc index a579e954..9c5ee867 100644 --- a/common/bspfile.cc +++ b/common/bspfile.cc @@ -728,7 +728,7 @@ struct gamedef_q2_t : public gamedef_t // NOTE: strips off any extra flags return {Q2_CONTENTS_SOLID, 0}; } - return {a.native | b.native, a.extended | b.extended}; + return {a.native | b.native, static_cast(a.extended | b.extended)}; } std::string get_contents_display(const contentflags_t &contents) const