aboutsummaryrefslogtreecommitdiff
path: root/src/tabdump.c
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2009-04-01 14:56:21 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2009-04-01 14:56:21 +0000
commit6ca3e8bae049dd2abb653eaedc311206e2918c57 (patch)
tree51a0c93e5c374fd4115b8c95012d89fd57eafb5a /src/tabdump.c
parent51a54e1d6fd71ea24d5526c458c6252392d41967 (diff)
hopefully fixed zarray accessing on 64bit machines
svn path=/trunk/externals/zexy/; revision=10941
Diffstat (limited to 'src/tabdump.c')
-rw-r--r--src/tabdump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tabdump.c b/src/tabdump.c
index 64207b6..824f483 100644
--- a/src/tabdump.c
+++ b/src/tabdump.c
@@ -54,7 +54,7 @@ static void tabdump_bang(t_tabdump *x)
npoints=stop-start;
atombuf = (t_atom *)getbytes(sizeof(t_atom)*npoints);
- for (n = 0; n < npoints; n++) SETFLOAT(&atombuf[n], vec[start+n]);
+ for (n = 0; n < npoints; n++) SETFLOAT(&atombuf[n], zarray_getfloat(vec, start+n));
outlet_list(x->x_obj.ob_outlet, &s_list, npoints, atombuf);
freebytes(atombuf,sizeof(t_atom)*npoints);
}