[PATCH 1/2] winecoreaudio.drv: Don't use pointer constants with an integer type. (Clang)
Andrew Eikum
aeikum at codeweavers.com
Mon Feb 22 09:21:40 CST 2016
Signed-off-by: Andrew Eikum <aeikum at codeweavers.com>
On Fri, Feb 19, 2016 at 03:48:08PM -0700, Charles Davis wrote:
> Signed-off-by: Charles Davis <cdavis5x at gmail.com>
> ---
> 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;
> }
> --
> 2.7.1
>
More information about the wine-patches
mailing list