Skip to content

Commit 26cdd2f

Browse files
authored
chore: fix C lint errors
PR-URL: #8880 Closes: #8877 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent b660add commit 26cdd2f

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)