Fixed compiler error with Release build (bridge cast for a plugin pointer)

This commit is contained in:
Derek Knight (mac) 2018-06-02 13:36:19 +12:00
parent 80cc931a18
commit 389e3ce405

View File

@ -284,7 +284,7 @@ typedef struct {
extern PDP8 *pdp8;
#define EXECUTION_TIME(time) (pdp8->_state.executionTime += (time))
#if defined(NS_BLOCK_ASSERTIONS)
#define PLUGIN_POINTER(plugin) ((plugin *) pdp8->_state.pluginPointer[(pdp8->_state.currInst >> 3) & 077])
#define PLUGIN_POINTER(plugin) ((__bridge plugin *) pdp8->_state.pluginPointer[(pdp8->_state.currInst >> 3) & 077])
#else
#define PLUGIN_POINTER(plugin) ((plugin *) [pdp8 pluginPointer:[plugin class]])
#endif