aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/eg-params.lv2/params.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2016-07-31 17:57:55 -0400
committerDavid Robillard <d@drobilla.net>2016-07-31 17:57:55 -0400
commite2f90ca5d3e2f59fa3f5f7a104048efb7f7fc099 (patch)
treec788a8d8c043e8b9877a4055508eb5871b4ba0ce /plugins/eg-params.lv2/params.c
parent2389e2a8781ce5b346ddacccb2a61b1da2cd8aab (diff)
downloadlv2-e2f90ca5d3e2f59fa3f5f7a104048efb7f7fc099.tar.xz
Fix compilation with C++
Diffstat (limited to 'plugins/eg-params.lv2/params.c')
-rw-r--r--plugins/eg-params.lv2/params.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/eg-params.lv2/params.c b/plugins/eg-params.lv2/params.c
index 06def6e..3a45061 100644
--- a/plugins/eg-params.lv2/params.c
+++ b/plugins/eg-params.lv2/params.c
@@ -351,7 +351,7 @@ write_param_to_forge(LV2_State_Handle handle,
uint32_t type,
uint32_t flags)
{
- LV2_Atom_Forge* forge = handle;
+ LV2_Atom_Forge* forge = (LV2_Atom_Forge*)handle;
if (!lv2_atom_forge_key(forge, key) ||
!lv2_atom_forge_atom(forge, size, type) ||