From 6ca3e8bae049dd2abb653eaedc311206e2918c57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= Date: Wed, 1 Apr 2009 14:56:21 +0000 Subject: hopefully fixed zarray accessing on 64bit machines svn path=/trunk/externals/zexy/; revision=10941 --- src/tabdump.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tabdump.c') 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); } -- cgit v1.2.1