summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlon Levy <alevy@redhat.com>2012-08-09 15:37:39 +0300
committerAlon Levy <alevy@redhat.com>2012-10-23 18:46:59 +0200
commit8d1f3b6793e9ce03df52d7d3e8fe581c6d11731f (patch)
tree1813d8c25ccffb61f6669ed7178a4ed43198a5eb
parent7235c312c436ed2b8a1d1abb9d30b589479f5797 (diff)
qxl_driver: remove alloc.handle uint32_t todo
-rw-r--r--src/qxl_driver.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/qxl_driver.c b/src/qxl_driver.c
index c5d19f4..82a7b98 100644
--- a/src/qxl_driver.c
+++ b/src/qxl_driver.c
@@ -253,8 +253,7 @@ static uint32_t qxl_kms_alloc_resource(qxl_screen_t *qxl,
"error doing QXL_ALLOC\n");
return 0; // an invalid handle
}
- // TODO - remove cast as soon as alloc is updated
- return (uint32_t)alloc.handle;
+ return alloc.handle;
}
static void *