Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/chromium/chromium-vaapi-uintptr.patch
blob: a24050717f6597863c9c797150e59ffe1d874b73 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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) {