Add explicit cast to silence a warning
authorMartin Kroeker <martin@ruby.chemie.uni-freiburg.de>
Thu, 13 Sep 2018 12:23:31 +0000 (14:23 +0200)
committerGitHub <noreply@github.com>
Thu, 13 Sep 2018 12:23:31 +0000 (14:23 +0200)
for #1710

interface/lapack/laswp.c

index ebeb103..0dde33a 100644 (file)
@@ -97,7 +97,7 @@ int NAME(blasint *N, FLOAT *a, blasint *LDA, blasint *K1, blasint *K2, blasint *
 
   blas_level1_thread(mode, n, k1, k2, dummyalpha,
                     a, lda, NULL, 0, ipiv, incx,
-                    laswp[flag], nthreads);
+                    (int(*)())laswp[flag], nthreads);
   }
 #endif