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; }