From f58f212df14050c0139bc6436676511c576d1e5b Mon Sep 17 00:00:00 2001 From: Sam Mish Date: Fri, 10 Jul 2020 11:19:12 -0700 Subject: [PATCH] explicitly define underlying enum type --- trove/warp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trove/warp.h b/trove/warp.h index 1f31d57..201ccab 100644 --- a/trove/warp.h +++ b/trove/warp.h @@ -29,7 +29,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. namespace trove { -enum { +enum : unsigned { WARP_SIZE = 32, WARP_MASK = 0x1f, WARP_CONVERGED = 0xFFFFFFFF,