From ffa32ab877e75f3740a0e7e8e921e7e7a08abb32 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Mon, 13 Aug 2018 15:09:04 +1000 Subject: add storage class for constexpr-converted-to-enum (nw) --- src/devices/video/hp1ll3.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devices/video/hp1ll3.cpp b/src/devices/video/hp1ll3.cpp index aa5316c210a..a8a9309e142 100644 --- a/src/devices/video/hp1ll3.cpp +++ b/src/devices/video/hp1ll3.cpp @@ -149,7 +149,7 @@ constexpr uint16_t MSB_MASK = 0x8000; // Mask of MSB #define HPGPU_VRAM_SIZE 16384 // Index of words in configuration vector -enum +enum : unsigned { CONF_HOR_0 = 0, // Horizontal timing, 1st word CONF_HOR_1 = 1, // Horizontal timing, 2nd word @@ -165,7 +165,7 @@ enum }; // Fields of hor/ver timing words -enum +enum : uint16_t { HV_CNT_MASK = 0x3ff, // Mask of counter part HV_ZONE_MASK = 0xc000, // Mask of zone part -- cgit v1.2.3