1. Nathan Hjelm
  2. ompi-btl-interface-update

Commits

Nathan Hjelm  committed 85b1f0f

quiet warnings

  • Participants
  • Parent commits 439cc4b
  • Branches btl_mod

Comments (0)

Files changed (2)

File ompi/mca/btl/sm/btl_sm.c

View file
     }
 #endif /* OMPI_BTL_SM_HAVE_KNEM || OMPI_BTL_SM_HAVE_CMA */
 
-    frag->base.des_src = &(frag->segment);
+    frag->base.des_src = &(frag->segment.base);
     frag->base.des_src_cnt = 1;
     frag->base.order = MCA_BTL_NO_ORDER;
     frag->base.des_dst = NULL;

File ompi/mca/btl/ugni/btl_ugni_prepare.h

View file
     }
 
     if ((flags & MCA_BTL_DES_FLAGS_GET) && (*size & 0x3)) {
-        memmove (frag->segments[0].extra_bytes, (uintptr_t) data_ptr + (*size & ~0x3),
+        memmove (frag->segments[0].extra_bytes, (char *) data_ptr + (*size & ~0x3),
                  *size & 0x3);
         frag->segments[0].extra_byte_count = *size & 0x3;
     } else {