From 0fb44c6f9a0415184818ba8357a21ff920e907dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Mon, 11 Jun 2007 09:23:19 +0200 Subject: [PATCH] DRI: Fix build warning. --- hw/xfree86/dri/drimodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hw/xfree86/dri/drimodule.c b/hw/xfree86/dri/drimodule.c index 0e3d84eb8..3aa9245b9 100644 --- a/hw/xfree86/dri/drimodule.c +++ b/hw/xfree86/dri/drimodule.c @@ -88,6 +88,6 @@ driSetup(pointer module, pointer opts, int *errmaj, int *errmin) drmSetServerInfo(&DRIDRMServerInfo); /* Need a non-NULL return value to indicate success */ - return 1; + return (pointer)1; }