diff options
Diffstat (limited to 'stdlib')
-rw-r--r-- | stdlib/drand48-iter.c | 4 | ||||
-rw-r--r-- | stdlib/srand48_r.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/stdlib/drand48-iter.c b/stdlib/drand48-iter.c index 013dbe7..b98f402 100644 --- a/stdlib/drand48-iter.c +++ b/stdlib/drand48-iter.c @@ -48,8 +48,8 @@ __drand48_iterate (xsubi, buffer) } else { - buffer->a[2] = 0x5deec; - buffer->a[1] = 0xe66d0000; + buffer->a[2] = 0x5deecUL; + buffer->a[1] = 0xe66d0000UL; buffer->a[0] = 0; } buffer->c = 0xb; diff --git a/stdlib/srand48_r.c b/stdlib/srand48_r.c index 7e77d16..ac313f6 100644 --- a/stdlib/srand48_r.c +++ b/stdlib/srand48_r.c @@ -44,7 +44,7 @@ srand48_r (seedval, buffer) else { buffer->X[2] = seedval; - buffer->X[1] = 0x330e0000; + buffer->X[1] = 0x330e0000UL; buffer->X[0] = 0; } |