summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_gem_stubs.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/vulkan/anv_gem_stubs.c')
-rw-r--r--src/intel/vulkan/anv_gem_stubs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_gem_stubs.c b/src/intel/vulkan/anv_gem_stubs.c
index a63e96d52be..8d81eb5b289 100644
--- a/src/intel/vulkan/anv_gem_stubs.c
+++ b/src/intel/vulkan/anv_gem_stubs.c
@@ -34,7 +34,7 @@ memfd_create(const char *name, unsigned int flags)
}
uint32_t
-anv_gem_create(struct anv_device *device, size_t size)
+anv_gem_create(struct anv_device *device, uint64_t size)
{
int fd = memfd_create("fake bo", MFD_CLOEXEC);
if (fd == -1)