winecoreaudio: Avoid sizeof in trace.
This commit is contained in:
parent
069f5b90ae
commit
b43167a4cf
|
@ -711,8 +711,8 @@ static DWORD MIDIIn_Prepare(WORD wDevID, LPMIDIHDR lpMidiHdr, DWORD dwSize)
|
|||
if (dwSize < sizeof(MIDIHDR) || lpMidiHdr == 0 ||
|
||||
lpMidiHdr->lpData == 0 || (lpMidiHdr->dwFlags & MHDR_INQUEUE) != 0 ||
|
||||
lpMidiHdr->dwBufferLength >= 0x10000ul) {
|
||||
WARN("Invalid parameter %p %p %08x %d/%d\n", lpMidiHdr, lpMidiHdr->lpData,
|
||||
lpMidiHdr->dwFlags, sizeof(MIDIHDR), dwSize);
|
||||
WARN("Invalid parameter %p %p %08x %d\n", lpMidiHdr, lpMidiHdr->lpData,
|
||||
lpMidiHdr->dwFlags, dwSize);
|
||||
return MMSYSERR_INVALPARAM;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue