Some compilers (VC) don't like conversions between int and bool.
This commit was SVN r13043.
Этот коммит содержится в:
родитель
77452ea8ea
Коммит
e72b0c1044
@ -512,5 +512,6 @@ ompi_mpi_cxx_grequest_cancel_fn_intercept(void *state, int cancelled)
|
|||||||
{
|
{
|
||||||
struct MPI::Grequest_intercept_t *data =
|
struct MPI::Grequest_intercept_t *data =
|
||||||
(struct MPI::Grequest_intercept_t *) state;
|
(struct MPI::Grequest_intercept_t *) state;
|
||||||
return data->git_cxx_cancel_fn(data->git_extra, (bool) cancelled);
|
return data->git_cxx_cancel_fn(data->git_extra,
|
||||||
|
(0 != cancelled ? true : false));
|
||||||
}
|
}
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user