Commit 242cbcaa authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

wineoss.drv: Fixed incorrect sizeof() (Coverity).

parent 6d887f07
......@@ -297,7 +297,7 @@ static BOOL supportedFormat(LPWAVEFORMATEX wf)
void copy_format(LPWAVEFORMATEX wf1, LPWAVEFORMATPCMEX wf2)
{
ZeroMemory(wf2, sizeof(wf2));
ZeroMemory(wf2, sizeof(*wf2));
if (wf1->wFormatTag == WAVE_FORMAT_PCM)
memcpy(wf2, wf1, sizeof(PCMWAVEFORMAT));
else if (wf1->wFormatTag == WAVE_FORMAT_EXTENSIBLE)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment