Skip to content
Snippets Groups Projects
Commit 389e5b96 authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Pass pointer address

parent 51a40a61
No related branches found
No related tags found
1 merge request!294Buffered cell_split
......@@ -102,7 +102,7 @@ void proxy_cells_exch2(struct proxy *p) {
/* Re-allocate the pcell_in buffer. */
if (p->pcells_in != NULL) free(p->pcells_in);
if (posix_memalign((void **)p->pcells_in, SWIFT_STRUCT_ALIGNMENT,
if (posix_memalign((void **)&p->pcells_in, SWIFT_STRUCT_ALIGNMENT,
sizeof(struct pcell) * p->size_pcells_in) != 0)
error("Failed to allocate pcell_in buffer.");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment