aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2018-08-11 08:38:22 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2018-08-11 08:45:48 +0200
commit9cb9fced234dd930f0667d9390075d81b0ab0031 (patch)
tree3504b367f89210fe05ec259e54f545d91d66cee4
parent56d69438b2dc5e3983fd8ae2013d1a55dd323eb1 (diff)
downloadprops.lv2-9cb9fced234dd930f0667d9390075d81b0ab0031.tar.xz
silence pedantic warnings.
-rw-r--r--VERSION2
-rw-r--r--props.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/VERSION b/VERSION
index 496a825..9c178d3 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.1.91
+0.1.95
diff --git a/props.h b/props.h
index 463e123..8d4897a 100644
--- a/props.h
+++ b/props.h
@@ -120,12 +120,12 @@ struct _props_t {
uint32_t max_size;
unsigned nimpls;
- props_impl_t impls [0];
+ props_impl_t impls [1];
};
#define PROPS_T(PROPS, MAX_NIMPLS) \
props_t (PROPS); \
- props_impl_t _impls [(MAX_NIMPLS)]
+ props_impl_t _impls [(MAX_NIMPLS-1)]
// rt-safe
static inline int