Skip to content

Commit 7b146e5

Browse files
authored
fix function typecast
1 parent e9a0e52 commit 7b146e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/x86_64/zasum.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ FLOAT CNAME(BLASLONG n, FLOAT *x, BLASLONG inc_x)
130130
mode = BLAS_DOUBLE | BLAS_COMPLEX;
131131
#endif
132132
blas_level1_thread_with_return_value(mode, n, 0, 0, dummy_alpha, x, inc_x,
133-
NULL, 0, result, 0, (void *)asum_thread_function, nthreads);
133+
NULL, 0, result, 0, (int (*)(void))asum_thread_function, nthreads);
134134
ptr = (FLOAT *)result;
135135
for (i = 0; i < nthreads; i++) {
136136
sumf += (*ptr);

0 commit comments

Comments
 (0)