util: Silence compiler warnings on Windows.

This commit is contained in:
Michal Krol 2008-08-23 12:31:16 +02:00
parent f3dfd5969d
commit e7ff7f78be

View file

@ -39,7 +39,7 @@ init_pow2_table(void)
{
int i;
for (i = 0; i < POW2_TABLE_SIZE; i++) {
pow2_table[i] = pow(2.0, i / POW2_TABLE_SCALE);
pow2_table[i] = (float) pow(2.0, i / POW2_TABLE_SCALE);
}
}