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 d044d721e6f6af8757ae02a7826dd898a960990b..4cfa95b8815edf415a3aa4e3e35ca847f4fcfb9e 100644 |
--- a/core/src/fxge/ge/fx_ge.cpp |
+++ b/core/src/fxge/ge/fx_ge.cpp |
@@ -64,7 +64,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++; |
} |
} |