From c830d9667394f1b8478f28a1cb5c33266b14094a Mon Sep 17 00:00:00 2001 From: Jeff Squyres Date: Tue, 21 May 2013 13:42:18 +0000 Subject: [PATCH] Silence compiler warnings, as suggested by Alan Sayre. This commit was SVN r28544. --- ompi/mpi/cxx/op_inln.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ompi/mpi/cxx/op_inln.h b/ompi/mpi/cxx/op_inln.h index bdd5a5fcfc..6be43a0df6 100644 --- a/ompi/mpi/cxx/op_inln.h +++ b/ompi/mpi/cxx/op_inln.h @@ -145,5 +145,5 @@ MPI::Op::Is_commutative(void) const { int commute; (void)MPI_Op_commutative(mpi_op, &commute); - return (bool) commute; + return (bool) (commute != 0); }