diff --git a/src/map/IMG/rgnfile.cpp b/src/map/IMG/rgnfile.cpp index a2668ff1..495ed69f 100644 --- a/src/map/IMG/rgnfile.cpp +++ b/src/map/IMG/rgnfile.cpp @@ -13,7 +13,7 @@ using namespace Garmin; using namespace IMG; #define MASK(bits) ((1U << (bits)) - 1U) -#define COLOR(color) ((Light::Color)(color)) +#define COLOR(color) static_cast(color) static quint64 pointId(const QPoint &pos, quint32 type, const QString &label) {