diff options
author | Erik Schnetter <schnetter@gmail.com> | 2012-02-25 11:46:00 -0500 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2012-09-11 18:23:08 +0100 |
commit | 742182086660c78f2748bb47adf467585337fec5 (patch) | |
tree | b4e8e3288fa11a5ca4de030541159e2f195f968b /Carpet/CarpetLib/src/dist.cc | |
parent | 25f7e7afc0b1039b2c057f6a4b10739dc6e1fbe3 (diff) |
CarpetLib: Avoid warning about sign change
Diffstat (limited to 'Carpet/CarpetLib/src/dist.cc')
-rw-r--r-- | Carpet/CarpetLib/src/dist.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Carpet/CarpetLib/src/dist.cc b/Carpet/CarpetLib/src/dist.cc index e4757bb8b..d773d644e 100644 --- a/Carpet/CarpetLib/src/dist.cc +++ b/Carpet/CarpetLib/src/dist.cc @@ -246,7 +246,7 @@ namespace dist { int const root = 0; unsigned int my_id = dist::rank()==root ? id : id+1; MPI_Bcast (&my_id, 1, MPI_INT, root, c); - if (my_id != id) { + if (my_id != (unsigned int)id) { CCTK_VWarn (CCTK_WARN_ABORT, __LINE__, __FILE__, CCTK_THORNSTRING, "Wrong id for Barrier \"%s\": expected %ud, found %ud", name, id, my_id); |