winmm/tests: Fix a constant conversion warning.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-12-17 16:50:40 +01:00
parent b5157c528d
commit ef35796376
1 changed files with 1 additions and 1 deletions

View File

@ -161,7 +161,7 @@ static char* wave_generate_silence(WAVEFORMATEX* wfx, double duration, DWORD* si
for (i=0;i<nb_samples;i++) {
if (wfx->wBitsPerSample==8) {
for (j = 0; j < wfx->nChannels; j++)
*b++=128;
*b++=(char)128;
} else if (wfx->wBitsPerSample==16) {
for (j = 0; j < wfx->nChannels; j++) {
b[0]=0;