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

Daniel Stone daniel at fooishbar.org
Thu Dec 30 18:00:16 PST 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>
Reviewed-by: Mark Kettenis <kettenis at openbsd.org>
Reviewed-by: Cyril Brulebois <kibi at debian.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
 };
-- 
1.7.2.3



More information about the xorg-devel mailing list