Skip to content

Commit e1c8e27

Browse files
committed
chore: fix C lint errors (issue #8877)
1 parent e5bf66b commit e1c8e27

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/node_modules/@stdlib/number/float64/base/set-low-word/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ void stdlib_base_float64_set_low_word( const uint32_t low, double *x );
174174
#include <stdio.h>
175175

176176
int main( void ) {
177-
uint32_t low[] = { 1374389535, 1374389545, 1374389555, 1374389565 };
177+
const uint32_t low[] = { 1374389535, 1374389545, 1374389555, 1374389565 };
178178
double x = 3.14;
179179

180180
int i;

lib/node_modules/@stdlib/number/float64/base/set-low-word/examples/c/example.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
#include <stdio.h>
2222

2323
int main( void ) {
24-
uint32_t low[] = { 1374389535, 1374389545, 1374389555, 1374389565 };
24+
const uint32_t low[] = { 1374389535, 1374389545, 1374389555, 1374389565 };
2525
double x = 3.14;
2626

2727
int i;

0 commit comments

Comments
 (0)