[SCM] calf/master: + LV2: use static_cast for retrieving plugin_ctl_iface

js at users.alioth.debian.org js at users.alioth.debian.org
Tue May 7 15:38:31 UTC 2013


The following commit has been merged in the master branch:
commit 01054e07cde5811e60ed6bb67484b90300112ea9
Author: Krzysztof Foltman <wdev at foltman.com>
Date:   Sun Nov 16 22:06:42 2008 +0000

    + LV2: use static_cast for retrieving plugin_ctl_iface

diff --git a/src/calf/lv2wrap.h b/src/calf/lv2wrap.h
index 9960e31..51aa174 100644
--- a/src/calf/lv2wrap.h
+++ b/src/calf/lv2wrap.h
@@ -215,7 +215,7 @@ struct lv2_wrapper
     }
     static plugin_ctl_iface *cb_get_pci(LV2_Handle Instance)
     {
-        return (plugin_ctl_iface *)Instance;
+        return static_cast<plugin_ctl_iface *>(Instance);
     }
 
     static inline void process_slice(Module *mod, uint32_t offset, uint32_t end)

-- 
calf audio plugins packaging



More information about the pkg-multimedia-commits mailing list