1
1

Get rid of a warning of "pointer of type ‘void *’ used in arithmetic" on Linux, which is also an error on Windows.

This commit was SVN r23660.
Этот коммит содержится в:
Shiqing Fan 2010-08-25 08:26:11 +00:00
родитель f1a00c9a21
Коммит 7a1bdd2327

Просмотреть файл

@ -924,7 +924,7 @@ component_fragment_cb(struct mca_btl_base_module_t *btl,
/* The next header starts at the next aligned address in the /* The next header starts at the next aligned address in the
* buffer. Therefore, bump pointer forward if necessary. */ * buffer. Therefore, bump pointer forward if necessary. */
payload += OPAL_ALIGN_PAD_AMOUNT(payload, sizeof(void*)); payload = (char *)payload + OPAL_ALIGN_PAD_AMOUNT(payload, sizeof(void*));
base_header = (ompi_osc_rdma_base_header_t*) payload; base_header = (ompi_osc_rdma_base_header_t*) payload;
} else { } else {
done = true; done = true;