From: Arnaud Giersch Date: Wed, 1 Jul 2020 20:27:56 +0000 (+0200) Subject: [sonar] USe a typedef for type alias. X-Git-Tag: v3.26~523 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/617ff2158a9946f472d0f1623581765bb7e2d531 [sonar] USe a typedef for type alias. --- diff --git a/include/smpi/smpi.h b/include/smpi/smpi.h index 8832ecd220..ec4b56d2e2 100644 --- a/include/smpi/smpi.h +++ b/include/smpi/smpi.h @@ -309,7 +309,7 @@ XBT_PUBLIC_DATA const MPI_Datatype MPI_COUNT; #define MPI_LOGICAL MPI_LONG #endif -#define MPI_Fint int +typedef int MPI_Fint; #define MPI_COMPLEX MPI_C_FLOAT_COMPLEX #define MPI_DOUBLE_COMPLEX MPI_C_DOUBLE_COMPLEX