diff options
Diffstat (limited to 'externals/grill/flext')
-rwxr-xr-x | externals/grill/flext/source/fllib.cpp | 8 | ||||
-rw-r--r-- | externals/grill/flext/source/flsndobj.cpp | 4 |
2 files changed, 6 insertions, 6 deletions
diff --git a/externals/grill/flext/source/fllib.cpp b/externals/grill/flext/source/fllib.cpp index f9d2f84b..ce4e5703 100755 --- a/externals/grill/flext/source/fllib.cpp +++ b/externals/grill/flext/source/fllib.cpp @@ -177,7 +177,7 @@ void flext_obj::lib_init(const char *name,void setupfun(),bool attr) catch(std::exception &x) { error("%s - Exception at library setup: %s",name,x.what()); } - catch(const char *txt) { + catch(char *txt) { error("%s - Exception at library setup: %s",name,txt); } catch(...) { @@ -306,7 +306,7 @@ void flext_obj::obj_add(bool lib,bool dsp,bool attr,const char *idname,const cha catch(std::exception &x) { error("%s - Exception while initializing class: %s",idname,x.what()); } - catch(const char *txt) { + catch(char *txt) { error("%s - Exception while initializing class: %s",idname,txt); } catch(...) { @@ -458,7 +458,7 @@ flext_hdr *flext_obj::obj_new(const t_symbol *s,int _argc_,t_atom *argv) error("%s - Exception while creating object: %s",GetString(s),x.what()); ok = false; } - catch(const char *txt) { + catch(char *txt) { error("%s - Exception while creating object: %s",GetString(s),txt); ok = false; } @@ -509,7 +509,7 @@ void flext_obj::obj_free(flext_hdr *h) catch(std::exception &x) { error("%s - Exception while destroying object: %s",GetString(name),x.what()); } - catch(const char *txt) { + catch(char *txt) { error("%s - Exception while destroying object: %s",GetString(name),txt); } catch(...) { diff --git a/externals/grill/flext/source/flsndobj.cpp b/externals/grill/flext/source/flsndobj.cpp index 82e6048b..48b45096 100644 --- a/externals/grill/flext/source/flsndobj.cpp +++ b/externals/grill/flext/source/flsndobj.cpp @@ -95,7 +95,7 @@ void flext_sndobj::m_signal(int n,t_sample *const *in,t_sample *const *out) flext_sndobj::Inlet::Inlet(const t_sample *b,int vecsz,float sr): - SndIO(1,sizeof(t_sample)*8,NULL,vecsz,sr),buf(b) + SndIO(1,sizeof(t_sample)*8,NULL,vecsz,sr),buf(b) {} short flext_sndobj::Inlet::Read() @@ -112,7 +112,7 @@ short flext_sndobj::Inlet::Write() { return 0; } flext_sndobj::Outlet::Outlet(t_sample *b,int vecsz,float sr): - SndIO(1,sizeof(t_sample)*8,NULL,vecsz,sr),buf(b) + SndIO(1,sizeof(t_sample)*8,NULL,vecsz,sr),buf(b) {} short flext_sndobj::Outlet::Read() { return 0; } |