summaryrefslogtreecommitdiff
path: root/tests/eviction_common.c
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2015-05-14 16:38:01 +0100
committerThomas Wood <thomas.wood@intel.com>2015-05-14 17:01:57 +0100
commit7a5e1c6f0aebcfabecc3db96cb87add894530326 (patch)
tree87b69a19331a74e45529d9f6d64e4d0365f7e1d1 /tests/eviction_common.c
parentaa6c63463feaba83efb893b4e69e0d334f99afea (diff)
tests: match gem_create prototype in igt_eviction_test_ops create function
This avoids a warning when using gem_create as the create function. Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'tests/eviction_common.c')
-rw-r--r--tests/eviction_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/eviction_common.c b/tests/eviction_common.c
index 6f2f1948..91c5acf7 100644
--- a/tests/eviction_common.c
+++ b/tests/eviction_common.c
@@ -34,7 +34,7 @@
struct igt_eviction_test_ops
{
- uint32_t (*create)(int fd, int size);
+ uint32_t (*create)(int fd, uint64_t size);
void (*flink)(uint32_t old_handle, uint32_t new_handle);
void (*close)(int fd, uint32_t bo);
int (*copy)(int fd, uint32_t dst, uint32_t src,