aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Jurish <mukau@users.sourceforge.net>2007-07-31 23:33:18 +0000
committerBryan Jurish <mukau@users.sourceforge.net>2007-07-31 23:33:18 +0000
commitefa90e62799c0f05da8e9e453b104e4095fcb08b (patch)
tree1d16dd0055527cc4fc0fcc82d0d637464ccefbf9
parent03382805d2a3b49bbfdcb3c1aff356bfae362c4e (diff)
+ fixed annoying warning from any2string.c
svn path=/trunk/externals/moocow/pdstring/; revision=8318
-rw-r--r--src/any2string.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/any2string.c b/src/any2string.c
index e005be2..754f2be 100644
--- a/src/any2string.c
+++ b/src/any2string.c
@@ -84,7 +84,7 @@ static char *any2string_banner = "any2string: pdstring version " PACKAGE_VERSION
*/
static void any2string_anything(t_any2string *x, t_symbol *sel, int argc, t_atom *argv)
{
- t_atom *a;
+ t_atom *ap;
char *s, *s_max;
int len;
@@ -129,16 +129,16 @@ static void any2string_anything(t_any2string *x, t_symbol *sel, int argc, t_atom
/*-- atom buffer: binbuf text --*/
A2SDEBUG(post("any2string[%p]: atom buffer: for {...}", x));
- a = x->x_argv;
+ ap = 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);
+ 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(a, ((int)x->x_eos)); }
+ if (x->x_eos >= 0) { SETFLOAT(ap, ((int)x->x_eos)); }
A2SDEBUG(post("any2string: outlet_list(..., %d, ...)", x->x_argc));
outlet_list(x->x_outlet, &s_list, x->x_argc, x->x_argv);