diff options
-rw-r--r-- | desiredata/src/builtins.c | 2 | ||||
-rw-r--r-- | desiredata/src/kernel.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/desiredata/src/builtins.c b/desiredata/src/builtins.c index 47709aed..f1848957 100644 --- a/desiredata/src/builtins.c +++ b/desiredata/src/builtins.c @@ -2854,7 +2854,7 @@ extern t_printhook sys_printhook; void unpost_printhook (const char *s) { std::ostringstream &b = current_unpost->buf; b << s; - char *p; + const char *p; const char *d=b.str().data(),*dd=d; for (;;) { p = strchr(d,'\n'); diff --git a/desiredata/src/kernel.c b/desiredata/src/kernel.c index ca69bebb..08a869e2 100644 --- a/desiredata/src/kernel.c +++ b/desiredata/src/kernel.c @@ -1381,7 +1381,7 @@ void class_settip(t_class *x,t_symbol* s) {x->firsttip = s;} void class_setfieldnames(t_class *x, const char *s) { char foo[64]; while (*s) { - char *t = strchr(s,' '); + const char *t = strchr(s,' '); int i = t-s; if (!t) return; memcpy(foo,s,i); |