aboutsummaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
Diffstat (limited to 'gtk')
-rw-r--r--gtk/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/main.c b/gtk/main.c
index 8a64a38..92696da 100644
--- a/gtk/main.c
+++ b/gtk/main.c
@@ -300,7 +300,7 @@ static gboolean render_cb(GtkGLArea *glarea, GdkGLContext *glctx, gpointer ptr)
(void)ptr;
if (!atomic_flag_test_and_set_explicit(
&g.at_fftdata_flag, memory_order_acquire)) {
- memcpy(&g.fftdata.fdata, &g.at_fftdata, sizeof(g.fftdata));
+ memcpy(&g.fftdata.fdata, &g.at_fftdata, sizeof(g.fftdata.fdata));
atomic_flag_clear_explicit(&g.at_fftdata_flag, memory_order_release);
}
fmdsp_pacc_render(g.fp);