Skip to content

Commit f920adc

Browse files
navyansh007kgryte
andauthored
chore: fix C lint errors
PR-URL: #8180 Closes: #8170 Co-authored-by: Athan Reines <kgryte@gmail.com> Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent cb7cf8c commit f920adc

File tree

1 file changed

+3
-3
lines changed
  • lib/node_modules/@stdlib/number/uint32/base/mul/test/fixtures/c

1 file changed

+3
-3
lines changed

lib/node_modules/@stdlib/number/uint32/base/mul/test/fixtures/c/runner.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ void rand_array_ui32( unsigned int *out, const unsigned int len, const unsigned
140140
* @param x input array
141141
* @param len array length
142142
*/
143-
void ui32_to_f64( double *out, unsigned int *x, unsigned int len ) {
143+
void ui32_to_f64( double *out, const unsigned int *x, const unsigned int len ) {
144144
unsigned int i;
145145

146146
for ( i = 0; i < len; i++ ) {
@@ -155,7 +155,7 @@ void ui32_to_f64( double *out, unsigned int *x, unsigned int len ) {
155155
* @param x input array
156156
* @param len array length
157157
*/
158-
void f64_to_ui32( unsigned int *out, double *x, unsigned int len ) {
158+
void f64_to_ui32( unsigned int *out, const double *x, const unsigned int len ) {
159159
unsigned int i;
160160

161161
for ( i = 0; i < len; i++ ) {
@@ -259,7 +259,7 @@ void write_data_as_json( FILE *f, const unsigned int *a, const unsigned int *b,
259259
* @param len number of values in the domain
260260
* @param name output filename
261261
*/
262-
void generate( unsigned int *a, unsigned int *b, const unsigned int len, const char *name ) {
262+
void generate( const unsigned int *a, const unsigned int *b, const unsigned int len, const char *name ) {
263263
unsigned int i;
264264
unsigned int *y;
265265
FILE *f;

0 commit comments

Comments
 (0)