diff options
Diffstat (limited to 'externals/grill/flext/source/flbind.cpp')
-rw-r--r-- | externals/grill/flext/source/flbind.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/externals/grill/flext/source/flbind.cpp b/externals/grill/flext/source/flbind.cpp index ce775de0..6e4d4f92 100644 --- a/externals/grill/flext/source/flbind.cpp +++ b/externals/grill/flext/source/flbind.cpp @@ -35,7 +35,7 @@ void flext_base::SetupBindProxy() #elif FLEXT_SYS == FLEXT_SYS_MAX pxbnd_class = new t_class; - pxbnd_class->c_sym = sym__; + pxbnd_class->c_sym = const_cast<t_symbol *>(sym__); pxbnd_class->c_freelist = &px_freelist; pxbnd_class->c_freefun = NULL; pxbnd_class->c_size = sizeof(pxbnd_object); @@ -43,7 +43,7 @@ void flext_base::SetupBindProxy() pxbnd_class->c_noinlet = 1; px_messlist[0].m_sym = (t_symbol *)pxbnd_class; - px_messlist[1].m_sym = sym_anything; + px_messlist[1].m_sym = const_cast<t_symbol *>(sym_anything); px_messlist[1].m_fun = (method)pxbnd_object::px_method; px_messlist[1].m_type[0] = A_GIMME; px_messlist[1].m_type[1] = 0; |