diff -rauN chromium-72.0.3626.121/media/gpu/vaapi/vaapi_wrapper.cc chromium-72.0.3626.121-vaapi-uintptr-patch/media/gpu/vaapi/vaapi_wrapper.cc --- chromium-72.0.3626.121/media/gpu/vaapi/vaapi_wrapper.cc 2019-03-02 05:10:25.000000000 +0100 +++ chromium-72.0.3626.121-vaapi-uintptr-patch/media/gpu/vaapi/vaapi_wrapper.cc 2019-03-09 19:02:37.795731310 +0100 @@ -4,6 +4,7 @@ #include "media/gpu/vaapi/vaapi_wrapper.h" +#include <cstdint> #include <dlfcn.h> #include <string.h> @@ -1000,7 +1008,7 @@ } va_attrib_extbuf.num_planes = num_planes; - std::vector<unsigned long> fds(num_fds); + std::vector<uintptr_t> fds(num_fds); for (size_t i = 0; i < num_fds; ++i) { int dmabuf_fd = pixmap->GetDmaBufFd(i); if (dmabuf_fd < 0) {