fix function typecast
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Tue, 21 Dec 2021 17:49:18 +0000 (18:49 +0100)
committerGitHub <noreply@github.com>
Tue, 21 Dec 2021 17:49:18 +0000 (18:49 +0100)
lapack/getrf/getrf_parallel.c

index fc410b0..fed5c1d 100644 (file)
@@ -662,7 +662,7 @@ blasint CNAME(blas_arg_t *args, BLASLONG *range_m, BLASLONG *range_n, FLOAT *sa,
 
     blas_level1_thread(mode, bk, is + bk + offset + 1, mn + offset, (void *)dummyalpha,
                       a + (- offset + is * lda) * COMPSIZE, lda, NULL, 0,
-                      ipiv, 1, (void *)LASWP_PLUS, args -> nthreads);
+                      ipiv, 1, (int (*)(void))LASWP_PLUS, args -> nthreads);
 
     is += bk;
   }