winecoreaudio.drv: Remove superfluous casts of zero.
This commit is contained in:
parent
8f7372488b
commit
bf00cd3380
|
@ -342,7 +342,7 @@ static DWORD WINAPI messageThread(LPVOID p)
|
|||
CFMessagePortRef port_ReceiveInMessageThread = (CFMessagePortRef) p;
|
||||
CFRunLoopSourceRef source;
|
||||
|
||||
source = CFMessagePortCreateRunLoopSource(kCFAllocatorDefault, port_ReceiveInMessageThread, (CFIndex)0);
|
||||
source = CFMessagePortCreateRunLoopSource(kCFAllocatorDefault, port_ReceiveInMessageThread, 0);
|
||||
CFRunLoopAddSource(CFRunLoopGetCurrent(), source, kCFRunLoopDefaultMode);
|
||||
|
||||
CFRunLoopRun();
|
||||
|
|
|
@ -928,7 +928,7 @@ static DWORD WINAPI MIDIIn_MessageThread(LPVOID p)
|
|||
|
||||
local = CFMessagePortCreateLocal(kCFAllocatorDefault, MIDIInThreadPortName, &MIDIIn_MessageHandler, NULL, &info);
|
||||
|
||||
source = CFMessagePortCreateRunLoopSource(kCFAllocatorDefault, local, (CFIndex)0);
|
||||
source = CFMessagePortCreateRunLoopSource(kCFAllocatorDefault, local, 0);
|
||||
CFRunLoopAddSource(CFRunLoopGetCurrent(), source, kCFRunLoopDefaultMode);
|
||||
|
||||
CFRunLoopRun();
|
||||
|
|
Loading…
Reference in New Issue