Skip to content

Commit 9cbecf0

Browse files
authored
bench: add cast
Signed-off-by: Athan <[email protected]>
1 parent 075da31 commit 9cbecf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/blas/base/zdscal/benchmark/c/benchmark.length.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ static double benchmark1( int iterations, int len ) {
109109
}
110110
t = tic();
111111
for ( i = 0; i < iterations; i++ ) {
112-
c_zdscal( len, 2.0, x, 1 );
112+
c_zdscal( len, 2.0, (void *)x, 1 );
113113
if ( stdlib_base_is_nan( stdlib_complex128_real( x[ i%len ] ) ) ) {
114114
printf( "should not return NaN\n" );
115115
break;

0 commit comments

Comments
 (0)