Fix a compile warning

git-svn-id: https://svn.eduke32.com/eduke32@4608 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2014-09-30 04:07:14 +00:00
parent 598876e411
commit bd26dd5612

View file

@ -57,7 +57,7 @@ void PITCH_Init(void)
for (detune = 0; detune < MAXDETUNE; detune++) for (detune = 0; detune < MAXDETUNE; detune++)
{ {
PitchTable[ note ][ detune ] = 0x10000 * PitchTable[ note ][ detune ] = 0x10000 *
pow(2, (note * MAXDETUNE + detune) / (12.0 * MAXDETUNE)); (uint32_t)pow(2, (note * MAXDETUNE + detune) / (12.0 * MAXDETUNE));
} }
} }