[PATCH 4/4] GLX: DRI2: Fix mismatched-types warning

Cyril Brulebois kibi at debian.org
Thu Dec 30 15:01:49 PST 2010


Daniel Stone <daniel at fooishbar.org> (28/12/2010):
> All the DRI extension types have a base extension type as their first
> member to avoid exactly these types of warning.
> 
> Signed-off-by: Daniel Stone <daniel at fooishbar.org>
> ---
>  glx/glxdri2.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/glx/glxdri2.c b/glx/glxdri2.c
> index 1111183..8d21c93 100644
> --- a/glx/glxdri2.c
> +++ b/glx/glxdri2.c
> @@ -594,7 +594,7 @@ static const __DRIextension *loader_extensions[] = {
>      &systemTimeExtension.base,
>      &loaderExtension.base,
>  #ifdef __DRI_USE_INVALIDATE
> -    &dri2UseInvalidate,
> +    &dri2UseInvalidate.base,
>  #endif
>      NULL
>  };

Reviewed-by: Cyril Brulebois <kibi at debian.org>

KiBi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.x.org/archives/xorg-devel/attachments/20101231/d0bfa7ca/attachment.pgp>


More information about the xorg-devel mailing list