aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorHanspeter Portner <dev@open-music-kontrollers.ch>2015-06-27 17:48:35 +0200
committerHanspeter Portner <dev@open-music-kontrollers.ch>2015-06-27 17:48:35 +0200
commitd924ea91b1ad3475f08fad59bbe9963bdd38e6de (patch)
tree17d93ba1f97e1adb964c3f7db81fa2657622761f /lib
parenta9179147a66d2913165f81a60b2c93fe946ab02f (diff)
downloadsynthpod-d924ea91b1ad3475f08fad59bbe9963bdd38e6de.tar.xz
cast for 32-bit platforms.
Diffstat (limited to 'lib')
-rw-r--r--lib/synthpod_ui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/synthpod_ui.c b/lib/synthpod_ui.c
index c5038e68..7c15078e 100644
--- a/lib/synthpod_ui.c
+++ b/lib/synthpod_ui.c
@@ -4547,7 +4547,7 @@ sp_ui_from_app(sp_ui_t *ui, const LV2_Atom *atom)
const transmit_module_add_t *trans = (const transmit_module_add_t *)atom;
mod_t *mod = _sp_ui_mod_add(ui, trans->uri_str, trans->uid.body,
- (void *)trans->inst.body, (data_access_t)trans->data.body);
+ (void *)(uintptr_t)trans->inst.body, (data_access_t)(uintptr_t)trans->data.body);
if(!mod)
return; //TODO report