Commit 6063ec25 authored by Lioncache's avatar Lioncache

CFontRenderState: Eliminate sign conversion in SetColor()

Same behavior, minus a sign conversion warning.
parent 32a4087f
......@@ -26,7 +26,7 @@ void CFontRenderState::SetColor(EColorType tp, const CTextColor& col) {
case EColorType::Main:
case EColorType::Outline:
case EColorType::Geometry:
x54_colors[int(tp)] = col;
x54_colors[size_t(tp)] = col;
break;
case EColorType::Foreground:
x54_colors[0] = col;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment