From 5f89cf4fa221760924dc4e7881510edd91f7d6f0 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Thu, 8 Feb 2018 12:40:09 +0100 Subject: [PATCH] type-map: fix char array definition --- spa/include/spa/support/type-map-impl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spa/include/spa/support/type-map-impl.h b/spa/include/spa/support/type-map-impl.h index d5416a37f..496945d10 100644 --- a/spa/include/spa/support/type-map-impl.h +++ b/spa/include/spa/support/type-map-impl.h @@ -29,7 +29,7 @@ extern "C" { struct spa_type_map_impl_data { struct spa_type_map map; unsigned int n_types; - char **types; + char *types[1]; }; static inline uint32_t