Skip to content

Commit a06cfdd

Browse files
GeoDaoyukgryte
andauthored
chore: fix C lint errors
PR-URL: #9073 Closes: #9072 Co-authored-by: Athan Reines <[email protected]> Reviewed-by: Athan Reines <[email protected]>
1 parent 1bb0a07 commit a06cfdd

File tree

1 file changed

+2
-2
lines changed
  • lib/node_modules/@stdlib/random/base/mt19937/test/fixtures/c

1 file changed

+2
-2
lines changed

lib/node_modules/@stdlib/random/base/mt19937/test/fixtures/c/runner.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ void rand_array_ui32( unsigned int *out, const unsigned int len, const unsigned
148148
* @param x input array
149149
* @param len array length
150150
*/
151-
void ui32_to_f64( double *out, unsigned int *x, unsigned int len ) {
151+
void ui32_to_f64( double *out, const unsigned int *x, const unsigned int len ) {
152152
unsigned int i;
153153

154154
for ( i = 0; i < len; i++ ) {
@@ -163,7 +163,7 @@ void ui32_to_f64( double *out, unsigned int *x, unsigned int len ) {
163163
* @param x input array
164164
* @param len array length
165165
*/
166-
void f64_to_ui32( unsigned int *out, double *x, unsigned int len ) {
166+
void f64_to_ui32( unsigned int *out, const double *x, const unsigned int len ) {
167167
unsigned int i;
168168

169169
for ( i = 0; i < len; i++ ) {

0 commit comments

Comments
 (0)