Fixed warning on some compilers

Former-commit-id: 588acff705e80008577f4b1f46580b70dc62615a
This commit is contained in:
Lynix 2014-06-27 21:09:31 +02:00
parent c5b31d4f03
commit dcca3d03d4
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ void NzMixToMono(T* input, T* output, unsigned int channelCount, unsigned int fr
for (unsigned int j = 0; j < channelCount; ++j)
acc += input[i*channelCount + j];
output[i] = acc/channelCount;
output[i] = static_cast<T>(acc/channelCount);
}
}