From 32c85ad4b8fe27fed0c494f69c39e3902ce57b1b Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Tue, 28 Dec 2010 12:40:31 +0000 Subject: GLX: DRI2: Fix mismatched-types warning 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 Reviewed-by: Mark Kettenis Reviewed-by: Cyril Brulebois --- glx/glxdri2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/glx/glxdri2.c b/glx/glxdri2.c index 111118305..8d21c937b 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 }; -- cgit v1.2.3