winecoreaudio.drv: Remove superfluous casts of zero.

This commit is contained in:
Michael Stefaniuc 2010-03-28 23:51:48 +02:00 committed by Alexandre Julliard
parent 8f7372488b
commit bf00cd3380
2 changed files with 3 additions and 3 deletions

View File

@ -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();

View File

@ -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();