aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2018-11-09 11:34:51 +0100
committerHanspeter Portner <dev@open-music-kontrollers.ch>2018-11-09 11:34:51 +0100
commit622ce3e12c8d0e70fc4adbe1ddcb3f3eed720962 (patch)
tree026838cee865ef0d97ae99f3149ef2e28d52a233
parentfca36e5ef63481463f4d27d14894e84ad4a2a811 (diff)
downloadprops.lv2-622ce3e12c8d0e70fc4adbe1ddcb3f3eed720962.tar.xz
fix potential negative array sise.
-rw-r--r--VERSION2
-rw-r--r--props.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/VERSION b/VERSION
index 9c178d3..7cd2918 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-0.1.95
+0.1.97
diff --git a/props.h b/props.h
index d8beda2..ddbc268 100644
--- a/props.h
+++ b/props.h
@@ -125,7 +125,7 @@ struct _props_t {
#define PROPS_T(PROPS, MAX_NIMPLS) \
props_t (PROPS); \
- props_impl_t _impls [(MAX_NIMPLS-1)]
+ props_impl_t _impls [MAX_NIMPLS]
// rt-safe
static inline int