Skip to content

Commit 07501c9

Browse files
committed
refactor: use appropriate data type
1 parent a99cc94 commit 07501c9

File tree

1 file changed

+2
-1
lines changed
  • lib/node_modules/@stdlib/blas/ext/base/dnannsumkbn2/src

1 file changed

+2
-1
lines changed

lib/node_modules/@stdlib/blas/ext/base/dnannsumkbn2/src/addon.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#include "stdlib/napi/argv_int64.h"
2424
#include "stdlib/napi/argv_strided_float64array.h"
2525
#include "stdlib/strided/base/stride2offset.h"
26+
#include <stdint.h>
2627
#include <node_api.h>
2728

2829
/**
@@ -40,7 +41,7 @@ static napi_value addon( napi_env env, napi_callback_info info ) {
4041
STDLIB_NAPI_ARGV_STRIDED_FLOAT64ARRAY( env, X, N, strideX, argv, 1 );
4142
STDLIB_NAPI_ARGV_STRIDED_FLOAT64ARRAY( env, Out, 2, strideOut, argv, 3 );
4243

43-
int io = stdlib_strided_stride2offset( 2, strideOut );
44+
int64_t io = stdlib_strided_stride2offset( 2, strideOut );
4445
double *out = Out;
4546
CBLAS_INT n;
4647
out[ io ] = API_SUFFIX(stdlib_strided_dnannsumkbn2)( N, X, strideX, &n );

0 commit comments

Comments
 (0)