diff options
author | Chris Wilson <chris@chris-wilson.co.uk> | 2011-12-14 17:37:53 +0000 |
---|---|---|
committer | Chris Wilson <chris@chris-wilson.co.uk> | 2011-12-14 17:37:53 +0000 |
commit | d4bb328b78b767b98c8a60ee2c1bd0d2cc894d67 (patch) | |
tree | 36f939dea512d2ad4aab5d99e3cb38770929e3f4 /tests | |
parent | b4fb480c802c41dbb8061344a540752156113489 (diff) |
tests/gem_largeobject: silence the compiler
gem_largeobject.c: In function ‘test_large_object’:
gem_largeobject.c:95:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
Diffstat (limited to 'tests')
-rw-r--r-- | tests/gem_largeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gem_largeobject.c b/tests/gem_largeobject.c index f7973bdb..bf59c844 100644 --- a/tests/gem_largeobject.c +++ b/tests/gem_largeobject.c @@ -92,7 +92,7 @@ test_large_object(int fd) pwrite.handle = create.handle; pwrite.size = obj_size; - pwrite.data_ptr = (uint64_t)data; + pwrite.data_ptr = (uintptr_t)data; ret = ioctl(fd, DRM_IOCTL_I915_GEM_PWRITE, &pwrite); if (ret) { |