CFontRenderState: Eliminate sign conversion in SetColor()

Same behavior, minus a sign conversion warning.
This commit is contained in:
Lioncash 2020-05-21 01:33:31 -04:00
parent 32a4087f69
commit 6063ec2540
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ void CFontRenderState::SetColor(EColorType tp, const CTextColor& col) {
case EColorType::Main: case EColorType::Main:
case EColorType::Outline: case EColorType::Outline:
case EColorType::Geometry: case EColorType::Geometry:
x54_colors[int(tp)] = col; x54_colors[size_t(tp)] = col;
break; break;
case EColorType::Foreground: case EColorType::Foreground:
x54_colors[0] = col; x54_colors[0] = col;