mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 21:00:50 +00:00
fixed compiler overload warning on tinderbox.
This commit is contained in:
parent
322a1055ad
commit
73dbb090e7
@ -225,5 +225,5 @@ void nsDeviceContextWin :: SetGammaTable(PRUint8 * aTable, float aCurrentGamma,
|
||||
float fgval = (1.0f / aCurrentGamma) * (1.0f / aNewGamma);
|
||||
|
||||
for (PRInt32 cnt = 0; cnt < 256; cnt++)
|
||||
aTable[cnt] = (PRUint8)(pow(cnt * (1. / 256.), fgval) * 255.99999999);
|
||||
aTable[cnt] = (PRUint8)(::pow(cnt * (1. / 256.), fgval) * 255.99999999);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user