From c8e87bd87831bed62fb01d68def5dd568bcaeb89 Mon Sep 17 00:00:00 2001 From: Charles Davis Date: Fri, 19 Feb 2016 15:48:08 -0700 Subject: [PATCH] winecoreaudio.drv: Don't use pointer constants with an integer type (Clang). Signed-off-by: Charles Davis Signed-off-by: Andrew Eikum Signed-off-by: Alexandre Julliard --- 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 173341870c5..5ec564603a9 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; }