aboutsummaryrefslogtreecommitdiff
path: root/spectrogram.c
diff options
context:
space:
mode:
Diffstat (limited to 'spectrogram.c')
-rw-r--r--spectrogram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/spectrogram.c b/spectrogram.c
index 541ac41..8d08ba0 100644
--- a/spectrogram.c
+++ b/spectrogram.c
@@ -83,7 +83,7 @@ worker(XtPointer p)
XtSetArg(arg[n], XtNdata, &data); n++;
XtGetValues(p, arg, n);
- size = read_sio(data[0], data[1], size);
+ size = read_sio(data, size);
exec_fft(data[0], size);
exec_fft(data[1], size);