aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/flext/source/flext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'externals/grill/flext/source/flext.cpp')
-rw-r--r--externals/grill/flext/source/flext.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/externals/grill/flext/source/flext.cpp b/externals/grill/flext/source/flext.cpp
index 6c598500..f332ce65 100644
--- a/externals/grill/flext/source/flext.cpp
+++ b/externals/grill/flext/source/flext.cpp
@@ -251,11 +251,12 @@ void flext_base::cb_dsp(flext_hdr *c,t_signal **sp)
flext_dsp *obj;
#ifdef FLEXT_DEBUG
- obj = dynamic_cast<flext_dsp *>(bobj);
+ obj = dynamic_cast<flext_dsp *>(bobj);
#else
obj = static_cast<flext_dsp *>(bobj);
#endif
+ FLEXT_ASSERT(obj);
obj->SetupDsp(sp);
}