Skip to content

Commit cf714f3

Browse files
yuyichaoararslan
authored andcommitted
Merge pull request #35 from albap/master
Fix portability issues
1 parent 5952f40 commit cf714f3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

src/specfun/math_private.h

+7-7
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ typedef union
4848
double value;
4949
struct
5050
{
51-
u_int32_t msw;
52-
u_int32_t lsw;
51+
uint32_t msw;
52+
uint32_t lsw;
5353
} parts;
5454
struct
5555
{
56-
u_int64_t w;
56+
uint64_t w;
5757
} xparts;
5858
} ieee_double_shape_type;
5959

@@ -66,12 +66,12 @@ typedef union
6666
double value;
6767
struct
6868
{
69-
u_int32_t lsw;
70-
u_int32_t msw;
69+
uint32_t lsw;
70+
uint32_t msw;
7171
} parts;
7272
struct
7373
{
74-
u_int64_t w;
74+
uint64_t w;
7575
} xparts;
7676
} ieee_double_shape_type;
7777

@@ -227,7 +227,7 @@ do { \
227227
/*
228228
* Common routine to process the arguments to nan(), nanf(), and nanl().
229229
*/
230-
void _scan_nan(u_int32_t *__words, int __num_words, const char *__s);
230+
void _scan_nan(uint32_t *__words, int __num_words, const char *__s);
231231

232232
#ifdef __GNUCLIKE_ASM
233233

0 commit comments

Comments
 (0)