another memory smasher fixed

This commit is contained in:
IR4T4 2014-01-12 16:00:18 +01:00
parent 33b309700e
commit 33a72b9c4c

View file

@ -1661,7 +1661,7 @@ int QZ_SetGammaRamp (_THIS, Uint16 *ramp)
int QZ_GetGammaRamp (_THIS, Uint16 *ramp)
{
const uint32_t tableSize = 255;
const uint32_t tableSize = 256;
CGGammaValue redTable[tableSize];
CGGammaValue greenTable[tableSize];
CGGammaValue blueTable[tableSize];