From c155af5593747dec1f2a8c0f2104172f11cc7ee6 Mon Sep 17 00:00:00 2001
From: Timo Heister <timo.heister@gmail.com>
Date: Fri, 19 Oct 2018 09:42:24 -0600
Subject: [PATCH] use correct MPI types

---
 source/particles/particle_handler.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/source/particles/particle_handler.cc b/source/particles/particle_handler.cc
index cc0255d33d..f8b699acbc 100644
--- a/source/particles/particle_handler.cc
+++ b/source/particles/particle_handler.cc
@@ -898,7 +898,7 @@ namespace Particles
         {
           const int ierr = MPI_Irecv(&(n_recv_data[i]),
                                      1,
-                                     MPI_INT,
+                                     MPI_UNSIGNED,
                                      neighbors[i],
                                      0,
                                      triangulation->get_communicator(),
@@ -909,7 +909,7 @@ namespace Particles
         {
           const int ierr = MPI_Isend(&(n_send_data[i]),
                                      1,
-                                     MPI_INT,
+                                     MPI_UNSIGNED,
                                      neighbors[i],
                                      0,
                                      triangulation->get_communicator(),
-- 
2.39.5