summaryrefslogtreecommitdiff
path: root/src/modules/julia
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/julia')
-rw-r--r--src/modules/julia/julia.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/julia/julia.c b/src/modules/julia/julia.c
index fb3bdae..4b3cd73 100644
--- a/src/modules/julia/julia.c
+++ b/src/modules/julia/julia.c
@@ -155,7 +155,7 @@ static void julia_render_fragment(void *context, unsigned ticks, unsigned cpu, t
*buf = colors[julia_iter(real, imag, ctxt->creal, ctxt->cimag, sizeof(colors) / sizeof(*colors), ctxt->threshold)];
}
- buf = ((void *)buf) + fragment->stride;
+ buf += fragment->stride;
}
}
© All Rights Reserved