aboutsummaryrefslogtreecommitdiff
path: root/desiredata/src/kernel.c
diff options
context:
space:
mode:
Diffstat (limited to 'desiredata/src/kernel.c')
-rw-r--r--desiredata/src/kernel.c2
1 files changed, 1 insertions, 1 deletions
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);