Fix warning.

This commit is contained in:
Themaister 2012-03-04 23:17:27 +01:00
parent a2fe0330eb
commit 449b08e9d5

View File

@ -35,7 +35,7 @@ void resampler_preinit(ssnes_resampler_t *re, double omega, double *samples_offs
*samples_offset = 2.0;
for (int i = 0; i < 4; i++)
{
re->chan_data[0][i] = cos((i - 2) * omega);
re->chan_data[0][i] = (float)cos((i - 2) * omega);
re->chan_data[1][i] = re->chan_data[0][i];
}