diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2008-02-29 23:23:47 -0600 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2008-02-29 23:23:47 -0600 |
commit | e92d39f436e8094305d3cdfba13354c679626d6a (patch) | |
tree | efc815704383721894d6a4755aa9596de1b4d8a4 /Carpet | |
parent | a741710bc0671195d4d04a9224eb30a13456f96d (diff) |
Use MPI_CHAR instead of MPI_BYTE for to represent a C char
Diffstat (limited to 'Carpet')
-rw-r--r-- | Carpet/CarpetLib/src/dist.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/CarpetLib/src/dist.hh b/Carpet/CarpetLib/src/dist.hh index 7d501c857..ae7953f99 100644 --- a/Carpet/CarpetLib/src/dist.hh +++ b/Carpet/CarpetLib/src/dist.hh @@ -168,10 +168,10 @@ namespace dist { { return MPI_CHAR; } inline MPI_Datatype datatype (const signed char&) - { return MPI_UNSIGNED_CHAR; } + { return MPI_CHAR; } inline MPI_Datatype datatype (const unsigned char&) - { return MPI_BYTE; } + { return MPI_UNSIGNED_CHAR; } inline MPI_Datatype datatype (const short&) { return MPI_SHORT; } |