type-map: fix char array definition

This commit is contained in:
Wim Taymans 2018-02-08 12:40:09 +01:00
parent d841e0f778
commit 5f89cf4fa2

View file

@ -29,7 +29,7 @@ extern "C" {
struct spa_type_map_impl_data { struct spa_type_map_impl_data {
struct spa_type_map map; struct spa_type_map map;
unsigned int n_types; unsigned int n_types;
char **types; char *types[1];
}; };
static inline uint32_t static inline uint32_t