diff --git a/ba/ba0100.cpp b/ba/ba0100.cpp index b8f737c5c..62d38aff3 100755 --- a/ba/ba0100.cpp +++ b/ba/ba0100.cpp @@ -809,7 +809,7 @@ COLOR TColor_mask::cid2syscolor(short cid, const XVT_COLOR_COMPONENT* cc) const XVT_COLOR_HIGHLIGHT, XVT_COLOR_SELECT, XVT_COLOR_BLEND, XVT_COLOR_BORDER, XVT_COLOR_BACKGROUND, XVT_COLOR_BLEND, XVT_COLOR_BORDER }; - const int component = entry[cid-101]; + const unsigned int component = entry[cid-101]; for (int i = 0; cc[i].type != XVT_COLOR_NULL; i++) { if (cc[i].type == component)