From 6b940f25a23cc02c830c981d64bb3b3c3e77afdc Mon Sep 17 00:00:00 2001 From: Mathieu Faverge <mathieu.faverge@inria.fr> Date: Tue, 4 Jul 2023 15:30:02 +0200 Subject: [PATCH] print: Fix minor compilation warnings --- compute/zprint.c | 6 +++--- coreblas/compute/core_zprint.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/compute/zprint.c b/compute/zprint.c index 2329d1a9b..1ef093253 100644 --- a/compute/zprint.c +++ b/compute/zprint.c @@ -9,10 +9,10 @@ * * @brief Chameleon zprint wrappers * - * @version 1.2.0 + * @version 1.3.0 * @author Mathieu Faverge * @author Matthieu Kuhn - * @date 2022-02-22 + * @date 2023-07-05 * @precisions normal z -> s d c * */ @@ -42,7 +42,7 @@ zprint( const CHAM_desc_t *descA, int tempmm = m == descA->mt-1 ? descA->m-m*descA->mb : descA->mb; int tempnn = n == descA->nt-1 ? descA->n-n*descA->nb : descA->nb; - int lda, i; + int lda; if ( zprint_runtime_id == RUNTIME_SCHED_PARSEC ) { A = (CHAMELEON_Complex64_t*)tileA; diff --git a/coreblas/compute/core_zprint.c b/coreblas/compute/core_zprint.c index 9c127b6ea..af9740ff1 100644 --- a/coreblas/compute/core_zprint.c +++ b/coreblas/compute/core_zprint.c @@ -9,10 +9,10 @@ * * @brief Chameleon core_zprint CPU kernel * - * @version 1.2.0 + * @version 1.3.0 * @author Mathieu Faverge * @author Florent Pruvost - * @date 2020-03-03 + * @date 2023-07-05 * @precisions normal z -> c d s * */ @@ -28,7 +28,7 @@ CORE_zprint( FILE *file, const char *header, int i, j; fflush( output ); - fprintf( output, "--- %10s (%2d, %2d) / %p, %d:\n", header, Am, An, A, lda ); + fprintf( output, "--- %10s (%2d, %2d) / %p, %d:\n", header, Am, An, (void*)A, lda ); for(i=0; i<M; i++) { fprintf( output, " " ); for(j=0; j<N; j++) { -- GitLab