| Index: core/src/fxge/ge/fx_ge.cpp
|
| diff --git a/core/src/fxge/ge/fx_ge.cpp b/core/src/fxge/ge/fx_ge.cpp
|
| index 755aad565eb461c46aa617e4feb0d9c354ae7380..dffc98962f583018008fb14f116bfc28f84d196e 100644
|
| --- a/core/src/fxge/ge/fx_ge.cpp
|
| +++ b/core/src/fxge/ge/fx_ge.cpp
|
| @@ -61,7 +61,7 @@ void CFX_GEModule::SetTextGamma(FX_FLOAT gammaValue)
|
| gammaValue /= 2.2f;
|
| int i = 0;
|
| while (i < 256) {
|
| - m_GammaValue[i] = (FX_BYTE)(FXSYS_pow((FX_FLOAT)i / 255, gammaValue) * 255.0f + 0.5f);
|
| + m_GammaValue[i] = (uint8_t)(FXSYS_pow((FX_FLOAT)i / 255, gammaValue) * 255.0f + 0.5f);
|
| i++;
|
| }
|
| }
|
|
|