From bfefc272e5e29595c9b1bdc402fee6237ac391c1 Mon Sep 17 00:00:00 2001 From: Mathieu Faverge <mathieu.faverge@inria.fr> Date: Thu, 9 Nov 2017 12:02:20 +0100 Subject: [PATCH] should fix the clang warning --- spm.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spm.h b/spm.h index 145d5ce7..88fcc674 100644 --- a/spm.h +++ b/spm.h @@ -221,8 +221,8 @@ static inline void s_spmPrintElt( FILE *f, pastix_int_t i, pastix_int_t j, float * * @remark: uses a macro to avoid accessing A that would generate segfault. */ -#define p_spmPrintElt( f, i, j, A ) { \ - fprintf( f, "%ld %ld\n", (long)i, (long)j ); \ +#define p_spmPrintElt( f, i, j, A ) { \ + fprintf( f, "%ld %ld\n", (long)(i), (long)(j) ); \ } /** -- GitLab