summaryrefslogtreecommitdiff
path: root/src/uxa/intel.h
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2013-11-25 09:36:32 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2013-11-25 10:04:49 +0000
commit34057611c67b751c43d6bd70a7d5993708262cd2 (patch)
tree202b409de511c6363df7bcd32a9b5143a9c4a300 /src/uxa/intel.h
parentd2df10e28fa35d29b539dc52c61f710910b75831 (diff)
Correct type of uevent_handler
xf86AddGeneralHandler returns an opaque pointer, not a function pointer. Reported-by: Zdenek Kabelac <zkabelac@redhat.com> Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'src/uxa/intel.h')
-rw-r--r--src/uxa/intel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/uxa/intel.h b/src/uxa/intel.h
index ded975ff..6ac770e3 100644
--- a/src/uxa/intel.h
+++ b/src/uxa/intel.h
@@ -351,7 +351,7 @@ typedef struct intel_screen_private {
unsigned debug_flush;
#if HAVE_UDEV
struct udev_monitor *uevent_monitor;
- InputHandlerProc uevent_handler;
+ pointer uevent_handler;
#endif
Bool has_prime_vmap_flush;
} intel_screen_private;