Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Solaris/Illumos: use correct types for getrandom(2) flags
On Solaris (and any other platform that supports it), the `getrandom(2)` syscall has signature: ```rust fn getrandom(buf: *mut c_void, buflen: size_t, flags: c_uint) -> ssize_t; ``` so the flag constants (`GRND_NONBLOCK`, `GRND_RANDOM`, etc...) should be of type `c_uint`. I'm not sure if this sort of "bug fix" counts as a breaking change. Signed-off-by: Joe Richey <joerichey@google.com>
- Loading branch information