memory: fix C++ compiler warnings with GST_MAP_INFO_INIT

This commit is contained in:
Tim-Philipp Müller 2016-04-06 17:23:20 +01:00
parent e8c8c27ae8
commit e3cc67a133

View file

@ -216,7 +216,7 @@ typedef struct {
*
* Initializer for #GstMapInfo
*/
#define GST_MAP_INFO_INIT { NULL, 0, NULL, 0, 0, {0, }, {0, }}
#define GST_MAP_INFO_INIT { NULL, (GstMapFlags) 0, NULL, 0, 0, { NULL, NULL, NULL, NULL}, {NULL, NULL, NULL, NULL}}
/**
* GstMemoryMapFunction: