From 3c60ad61643e0273f1b07599afd9fdc3238a638f Mon Sep 17 00:00:00 2001 From: dirk Date: Mon, 18 Apr 2016 23:35:20 +0200 Subject: [PATCH] Build fix. --- MagickCore/opencl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MagickCore/opencl.c b/MagickCore/opencl.c index 5d1417f39..fff27f767 100644 --- a/MagickCore/opencl.c +++ b/MagickCore/opencl.c @@ -2690,7 +2690,7 @@ MagickExport const KernelProfileRecord *GetOpenCLKernelProfileRecords( { if (length != (size_t *) NULL) *length=0; - return((MagickCLDevice *) NULL); + return((const KernelProfileRecord *) NULL); } MagickExport const char *GetOpenCLDeviceVersion( @@ -2720,7 +2720,7 @@ MagickExport MagickBooleanType SetOpenCLEnabled( return(MagickFalse); } -MagickExport SetOpenCLKernelProfileEnabled( +MagickExport void SetOpenCLKernelProfileEnabled( MagickCLDevice magick_unused(device), const MagickBooleanType magick_unused(value)) { -- 2.40.0