summaryrefslogtreecommitdiff
path: root/lib/ioctl_wrappers.c
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2015-04-26 11:11:55 +0100
committerChris Wilson <chris@chris-wilson.co.uk>2015-04-26 11:12:38 +0100
commit236bab5cfd2d225d1eeec32d4bfa5f0757952975 (patch)
treeeec06324688219b48934260978c3b1bce88cef17 /lib/ioctl_wrappers.c
parent263da26b9c2ce33a4b6aac05acf97b21fe51d70f (diff)
lib: Fix types for gem_create()
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
Diffstat (limited to 'lib/ioctl_wrappers.c')
-rw-r--r--lib/ioctl_wrappers.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ioctl_wrappers.c b/lib/ioctl_wrappers.c
index 000d3940..e52316b7 100644
--- a/lib/ioctl_wrappers.c
+++ b/lib/ioctl_wrappers.c
@@ -416,7 +416,7 @@ uint32_t __gem_create(int fd, int size)
*
* Returns: The file-private handle of the created buffer object
*/
-uint32_t gem_create(int fd, int size)
+uint32_t gem_create(int fd, uint64_t size)
{
struct drm_i915_gem_create create;