Update of /cvsroot/pure-data/externals/moocow/pdstring/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24192
Modified Files: any2string.c Log Message: + fixed annoying warning from any2string.c
Index: any2string.c =================================================================== RCS file: /cvsroot/pure-data/externals/moocow/pdstring/src/any2string.c,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** any2string.c 26 Jul 2007 12:20:49 -0000 1.4 --- any2string.c 31 Jul 2007 23:33:18 -0000 1.5 *************** *** 85,89 **** static void any2string_anything(t_any2string *x, t_symbol *sel, int argc, t_atom *argv) { ! t_atom *a; char *s, *s_max; int len; --- 85,89 ---- static void any2string_anything(t_any2string *x, t_symbol *sel, int argc, t_atom *argv) { ! t_atom *ap; char *s, *s_max; int len; *************** *** 130,143 **** /*-- atom buffer: binbuf text --*/ A2SDEBUG(post("any2string[%p]: atom buffer: for {...}", x)); ! a = x->x_argv; s_max = x->x_text+len; ! for (s=x->x_text; s < s_max; s++, a++) { ! A2SDEBUG(post("any2string[%p]: atom buffer[%d]: SETFLOAT(a,%d='%c')", x, (a-x->x_argv), *s, *s)); ! SETFLOAT(a,*s); } A2SDEBUG(post("any2string: atom buffer: DONE"));
/*-- add EOS character (maybe) --*/ ! if (x->x_eos >= 0) { SETFLOAT(a, ((int)x->x_eos)); }
A2SDEBUG(post("any2string: outlet_list(..., %d, ...)", x->x_argc)); --- 130,143 ---- /*-- atom buffer: binbuf text --*/ A2SDEBUG(post("any2string[%p]: atom buffer: for {...}", x)); ! ap = x->x_argv; s_max = x->x_text+len; ! for (s=x->x_text; s < s_max; s++, ap++) { ! A2SDEBUG(post("any2string[%p]: atom buffer[%d]: SETFLOAT(a,%d='%c')", x, (ap-x->x_argv), *s, *s)); ! SETFLOAT(ap,*s); } A2SDEBUG(post("any2string: atom buffer: DONE"));
/*-- add EOS character (maybe) --*/ ! if (x->x_eos >= 0) { SETFLOAT(ap, ((int)x->x_eos)); }
A2SDEBUG(post("any2string: outlet_list(..., %d, ...)", x->x_argc));