summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2011-04-27 14:31:25 +0300
committerAlon Levy <alevy@redhat.com>2011-04-29 12:17:06 +0300
commit66a30b8e44e0ec173fbadfd233b4b204e33fb9f5 (patch)
tree65eb38ff7e547f722000e307047ed383320ebd22
parent9ee2aa1ccefe1f3fecaf481f38581c9b0f201ef4 (diff)
qxl_driver: fix initialization from wrong pointer warning
-rw-r--r--src/qxl_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qxl_driver.c b/src/qxl_driver.c
index 5c25f72..03da906 100644
--- a/src/qxl_driver.c
+++ b/src/qxl_driver.c
@@ -60,7 +60,7 @@ qxl_garbage_collect (qxl_screen_t *qxl)
union QXLReleaseInfo *info = u64_to_pointer (id & ~POINTER_MASK);
struct QXLCursorCmd *cmd = (struct QXLCursorCmd *)info;
- struct QXLDrawable *drawable = (struct qxl_drawable *)info;
+ struct QXLDrawable *drawable = (struct QXLDrawable *)info;
struct QXLSurfaceCmd *surface_cmd = (struct QXLSurfaceCmd *)info;
int is_cursor = FALSE;
int is_surface = FALSE;