Skip to content

Commit 5d190d4

Browse files
authored
chore: fix C lint errors
PR-URL: stdlib-js#8896 Closes: stdlib-js#8895 Reviewed-by: Athan Reines <kgryte@gmail.com>
1 parent 8ffe947 commit 5d190d4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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)