On Sat, 9 Sep 2006, Martin Peach wrote:
Line 114 of blosc.cc is:
sum += _play_voice_lint(table, ctl->c_index+i, ctl->c_frac[i], ctl->c_vscale[i]); You could probably change it to: sum += _play_voice_lint(table, &ctl->c_index[i], ctl->c_frac[i], ctl->c_vscale[i]); ...which avoids any confusion the compiler might have about what size of object is being pointed at. Martin
The compiler isn't confused: in C/C++, changing whatever+i to &whatever[i] never makes any difference to the type of the pointer.
in m_pd.h, t_int is typedefed as long, which means that in 64-bit mode, using int in place of t_int or vice-versa may lead to crashes, or weirdnesses like what happens when pd treats a t_word as a t_float and vice-versa.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montréal QC Canada