Skip to content
Snippets Groups Projects
Commit ef357963 authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

winmm/tests: Fix a constant conversion warning.

parent b5157c52
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment