[Piglit] [PATCH] egl_mesa_platform_surfaceless: fix compilation warning
Emil Velikov
emil.l.velikov at gmail.com
Tue Jul 11 13:09:38 UTC 2017
On 10 July 2017 at 16:04, Juan A. Suarez Romero <jasuarez at igalia.com> wrote:
> Fixes
>
> /build/piglit/tests/egl/spec/egl_mesa_platform_surfaceless/egl_mesa_platform_surfaceless.c:94:30:
> warning: incompatible pointer to integer conversion passing 'void *' to
> parameter of type 'NativeWindowType' (aka 'unsigned long')
> [-Wint-conversion]
> /*native_window*/ NULL,
> ^~~~
> /usr/lib/llvm-3.8/bin/../lib/clang/3.8.1/include/stddef.h:105:16: note:
> expanded from macro 'NULL'
> ^~~~~~~~~~
> /build/piglit/tests/egl/spec/egl_mesa_platform_surfaceless/egl_mesa_platform_surfaceless.c:125:30:
> warning: incompatible pointer to integer conversion passing 'void *' to
> parameter of type 'NativePixmapType' (aka 'unsigned long')
> [-Wint-conversion]
> /*native_window*/ NULL,
> ^~~~
> /usr/lib/llvm-3.8/bin/../lib/clang/3.8.1/include/stddef.h:105:16: note:
> expanded from macro 'NULL'
> ^~~~~~~~~~
> 2 warnings generated.
>
> v2: change function pointer declaration (Emil)
>
> Signed-off-by: Juan A. Suarez Romero <jasuarez at igalia.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
Thanks
Emil
More information about the Piglit
mailing list