Skip to content
Snippets Groups Projects
Commit 46e305a3 authored by Ali Mohammed's avatar Ali Mohammed
Browse files

silence compiler complains about void * arithmatic

parent 1eb78155
Branches
Tags
No related merge requests found
......@@ -235,6 +235,8 @@ FRESH_REGISTRATION:
/* register this address for OFI */
struct fid_mr *mr;
/*Calculate the src ptr taking into account source offsets for dist_cdos -- silence compiler warnings */
void * src_ptr = (void *) ((char *) dl.data + ticket->src_offset);
uint64_t requested_key = e->ep->fi->domain_attr->mr_mode & FI_MR_PROV_KEY ? 0 : mstro_memory_new_key();
int err = fi_mr_reg(e->ep->domain, regentry->addr, dl.len,
FI_REMOTE_READ, 0, requested_key, 0, &mr, NULL);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment