musl - musl - an implementation of the standard library for Linux-based systems

index : musl
musl - an implementation of the standard library for Linux-based systems
summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat
-rw-r--r--src/prng/mrand48.c 2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/prng/mrand48.c b/src/prng/mrand48.c
index ee650fc3..0519d667 100644
--- a/src/prng/mrand48.c
+++ b/src/prng/mrand48.c
@@ -6,7 +6,7 @@ extern unsigned short __seed48[7];
long jrand48(unsigned short s[3])
{
- return __rand48_step(s, __seed48+3) >> 16;
+ return (int32_t)(__rand48_step(s, __seed48+3) >> 16);
}
long mrand48(void)
generated by cgit v1.2.1 (git 2.18.0) at 2025年09月16日 08:43:13 +0000

AltStyle によって変換されたページ (->オリジナル) /