Commit 71b2986d authored by James Willis's avatar James Willis
Browse files

Use generic SWIFT structure alignment for runner.

parent cf768834
......@@ -460,7 +460,7 @@ int main(int argc, char *argv[]) {
engine.ti_current = 8;
engine.max_active_bin = num_time_bins;
if (posix_memalign((void **)&runner, part_align, sizeof(struct runner)) !=
if (posix_memalign((void **)&runner, SWIFT_STRUCT_ALIGNMENT, sizeof(struct runner)) !=
0) {
error("couldn't allocate runner");
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment