libs: surface: cast to uintptr_t pointer

According to Debian package auto-building, uintptr_t is not an
unsigned long in i386 arch, raising an "incompatible pointer type"
error.

This patch adds a casting for compiler's satisfaction in i386.
This commit is contained in:
Víctor Manuel Jáquez Leal 2018-02-27 06:10:09 -06:00
parent 02c7c1bc17
commit 863b7fa6e0

View file

@ -268,7 +268,7 @@ gst_vaapi_surface_create_from_buffer_proxy (GstVaapiSurface * surface,
extbuf.pitches[i] = GST_VIDEO_INFO_PLANE_STRIDE (vip, i);
extbuf.offsets[i] = GST_VIDEO_INFO_PLANE_OFFSET (vip, i);
}
extbuf.buffers = &extbuf_handle;
extbuf.buffers = (uintptr_t *) & extbuf_handle;
extbuf.num_buffers = 1;
extbuf.flags = 0;
extbuf.private_data = NULL;