Commit bf00cd33 authored by Michael Stefaniuc's avatar Michael Stefaniuc Committed by Alexandre Julliard

winecoreaudio.drv: Remove superfluous casts of zero.

parent 8f737248
......@@ -341,8 +341,8 @@ 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();
......
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