Skip to content

Commit 7800d5b

Browse files
committed
chore: fix C lint errors (issue #8895)
1 parent e5bf66b commit 7800d5b

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/node_modules/@stdlib/number/float64/base/get-high-word/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ void stdlib_base_float64_get_high_word( const double x, uint32_t *high );
144144
#include <stdio.h>
145145

146146
int main( void ) {
147-
double x[] = { 3.14, -3.14, 0.0, 0.0/0.0 };
147+
const double x[] = { 3.14, -3.14, 0.0, 0.0/0.0 };
148148

149149
uint32_t high;
150150
int i;

lib/node_modules/@stdlib/number/float64/base/get-high-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-
double x[] = { 3.14, -3.14, 0.0, 0.0/0.0 };
24+
const double x[] = { 3.14, -3.14, 0.0, 0.0/0.0 };
2525

2626
uint32_t high;
2727
int i;

0 commit comments

Comments
 (0)