Fix -Wsign-conversion Clang warning.
JerryScript-DCO-1.0-Signed-off-by: Robert Sipka rsipka.uszeged@partner.samsung.com
This commit is contained in:
@@ -267,7 +267,7 @@ rand (void)
|
||||
libc_random_gen_state[3] ^= libc_random_gen_state[3] >> 19;
|
||||
libc_random_gen_state[3] ^= intermediate;
|
||||
|
||||
return libc_random_gen_state[3] % (RAND_MAX + 1u);
|
||||
return (int) (libc_random_gen_state[3] % (RAND_MAX + 1));
|
||||
} /* rand */
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user