From cd13659fbf691de1c7f5dd71f9a8e5f4170bfdcc Mon Sep 17 00:00:00 2001
From: Georges Da Costa <dacosta@irit.fr>
Date: Mon, 8 Mar 2021 00:34:37 +0100
Subject: [PATCH] Corrects the type of data for infiniband values

---
 mojitos.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mojitos.c b/mojitos.c
index d0b175e..59f9466 100644
--- a/mojitos.c
+++ b/mojitos.c
@@ -195,7 +195,7 @@ int main(int argc, char **argv) {
   long long tmp_network_values[4]={0,0,0,0};
   get_network(network_values, network_sources);
 
-  char ** infiniband_sources = NULL;
+  int * infiniband_sources = NULL;
   if(infi_path != NULL)
     infiniband_sources = init_infiniband(infi_path);
   if(infiniband_sources == NULL)
-- 
GitLab