Minor change: eliminated compilation warning.

This commit is contained in:
David Capello 2010-06-14 22:35:20 -03:00
parent 051577f725
commit a5645bf577

View File

@ -240,7 +240,7 @@ void Palette::makeRectRamp(int from, int to, int columns)
*/
void Palette::toAllegro(RGB *rgb) const
{
int i;
size_t i;
for (i=0; i<size(); ++i) {
rgb[i].r = _rgba_getr(m_colors[i]) / 4;
rgb[i].g = _rgba_getg(m_colors[i]) / 4;