From 617ff2158a9946f472d0f1623581765bb7e2d531 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Wed, 1 Jul 2020 22:27:56 +0200 Subject: [PATCH] [sonar] USe a typedef for type alias. --- include/smpi/smpi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.20.1