d3d12memory: Use explicit type for GST_MAP_D3D12 define

C++ compiler will complain about different type between int and GstMapFlags

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/6749>
This commit is contained in:
Seungha Yang 2024-04-27 18:44:26 +09:00 committed by GStreamer Marge Bot
parent 87f43c25cc
commit c95725bb79

View file

@ -70,7 +70,7 @@ G_BEGIN_DECLS
*
* Since: 1.26
*/
#define GST_MAP_D3D12 (GST_MAP_FLAG_LAST << 1)
#define GST_MAP_D3D12 ((GstMapFlags) (GST_MAP_FLAG_LAST << 1))
/**
* GST_MAP_READ_D3D12: