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.
Этот коммит содержится в:
родитель
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
|
||||
* 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;
|
||||
} else {
|
||||
done = true;
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user