diff options
Diffstat (limited to 'pd/src/g_array.c')
-rw-r--r-- | pd/src/g_array.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pd/src/g_array.c b/pd/src/g_array.c index 1b44e548..543823f6 100644 --- a/pd/src/g_array.c +++ b/pd/src/g_array.c @@ -1051,7 +1051,7 @@ static void garray_save(t_gobj *z, t_binbuf *b) chunk = ARRAYWRITECHUNKSIZE; binbuf_addv(b, "si", gensym("#A"), n2); for (i = 0; i < chunk; i++) - binbuf_addv(b, "f", ((float *)(array->a_vec))[n2+i]); + binbuf_addv(b, "f", ((t_word *)(array->a_vec))[n2+i].w_float); binbuf_addv(b, ";"); n2 += chunk; } |