aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrille Henry <nusmuk@users.sourceforge.net>2013-04-10 12:42:00 +0000
committerCyrille Henry <nusmuk@users.sourceforge.net>2013-04-10 12:42:00 +0000
commit2efc6950cb2ef4f061a82f48a8560f076cb1976c (patch)
treece428d20e3aacdeda0df27a2e169ed64155fe5ac
parent05ebe3ceb8ab68ad6968ea46aa59b525484b1cda (diff)
rdebug compilation error
svn path=/trunk/externals/pmpd/; revision=17081
-rw-r--r--pmpd2d_core.c2
-rw-r--r--pmpd2d_set.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/pmpd2d_core.c b/pmpd2d_core.c
index 3ff5bdd..e68264b 100644
--- a/pmpd2d_core.c
+++ b/pmpd2d_core.c
@@ -71,7 +71,7 @@ void *pmpd2d_new()
void pmpd2d_bang(t_pmpd2d *x)
{
// this part is doing all the PM
- t_float F, L, Lx,Ly, Fx, Fy, tmpX, tmpY,speed;
+ t_float F, L, Lx,Ly, Fx, Fy, tmp, tmpX, tmpY,speed;
t_int i;
// post("bang");
diff --git a/pmpd2d_set.c b/pmpd2d_set.c
index 58df834..02d4683 100644
--- a/pmpd2d_set.c
+++ b/pmpd2d_set.c
@@ -187,7 +187,7 @@ void pmpd2d_setLKTab(t_pmpd2d *x, t_symbol *s, int argc, t_atom *argv)
tmp = max(0, min( x->nb_link-1, tmp));
x->link[tmp].K_L = K_l;
}
- else if (argc == 2) && ( ( argv[0].a_type == A_SYMBOL ) && ( argv[1].a_type == A_FLOAT ) )
+ else if ( (argc == 2) && ( argv[0].a_type == A_SYMBOL ) && ( argv[1].a_type == A_FLOAT ) )
{
for (i=0; i< x->nb_link; i++)
{