diff options
author | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-10-23 19:50:45 +0000 |
---|---|---|
committer | IOhannes m zmölnig <zmoelnig@users.sourceforge.net> | 2005-10-23 19:50:45 +0000 |
commit | 0690ab246e27c6d9080148cca9188dbe1aef0724 (patch) | |
tree | 78f53f578430c8c4e3287ed6b15dc60523aebc4d /src/mtx_cumsum.c | |
parent | 6a4760f0ee46ad46a00f6677c2edb16a306e60c2 (diff) |
ran with "-Wall" and fixed naughtinesses
shut up warnings and errors on vc7
svn path=/trunk/externals/iem/iemmatrix/; revision=3756
Diffstat (limited to 'src/mtx_cumsum.c')
-rw-r--r-- | src/mtx_cumsum.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mtx_cumsum.c b/src/mtx_cumsum.c index da6b148..2cd329e 100644 --- a/src/mtx_cumsum.c +++ b/src/mtx_cumsum.c @@ -67,11 +67,12 @@ static void *newMTXCumsum (t_symbol *s, int argc, t_atom *argv) if (argc>=1) { if (argv[0].a_type == A_SYMBOL) { mTXSetCumsumMode (mtx_cumsum_obj, atom_getsymbol (argv)); - if (argc>=2) + if (argc>=2) { if (argv[1].a_type != A_SYMBOL) mTXSetCumsumDirection (mtx_cumsum_obj, atom_getfloat (argv+1)); else post("mtx_cumsum: 2nd arg ignored. supposed to be float"); + } } else { mTXSetCumsumDirection (mtx_cumsum_obj, atom_getfloat (argv)); |