Module: wine Branch: master Commit: c8e87bd87831bed62fb01d68def5dd568bcaeb89 URL: http://source.winehq.org/git/wine.git/?a=commit;h=c8e87bd87831bed62fb01d68de...
Author: Charles Davis cdavis5x@gmail.com Date: Fri Feb 19 15:48:08 2016 -0700
winecoreaudio.drv: Don't use pointer constants with an integer type (Clang).
Signed-off-by: Charles Davis cdavis5x@gmail.com Signed-off-by: Andrew Eikum aeikum@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/winecoreaudio.drv/coremidi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/winecoreaudio.drv/coremidi.c b/dlls/winecoreaudio.drv/coremidi.c index 1733418..5ec5646 100644 --- a/dlls/winecoreaudio.drv/coremidi.c +++ b/dlls/winecoreaudio.drv/coremidi.c @@ -29,10 +29,10 @@
MIDIClientRef CoreMIDI_CreateClient(CFStringRef name) { - MIDIClientRef client = NULL; + MIDIClientRef client = 0;
if (MIDIClientCreate(name, NULL /* FIXME use notify proc */, NULL, &client) != noErr) - return NULL; + return 0;
return client; }