Change mpi_safe_cond_assign() for more const-ness

This commit is contained in:
Manuel Pégourié-Gonnard 2013-11-25 18:28:53 +01:00
parent 3e3d2b818c
commit 96c7a92b08
3 changed files with 9 additions and 8 deletions

View file

@ -249,7 +249,7 @@ void mpi_swap( mpi *X, mpi *Y );
* information through branch prediction and/or memory access
* patterns analysis).
*/
int mpi_safe_cond_assign( mpi *X, mpi *Y, unsigned char assign );
int mpi_safe_cond_assign( mpi *X, const mpi *Y, unsigned char assign );
/**
* \brief Set value from integer