Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pw_random: Make explicit narrowing conversion explicit
Make implicit conversion of uint64_t to uint32_t in XorShiftStarRng64::InjectEntropyBits explicit. This fixes an error in builds configured with the flags [-Werror,-Wshorten-64-to-32], such as the Fuchsia build. Change-Id: I0e172cb35597b11df2ab4be496815c3556d707b1 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/125050 Reviewed-by: Keir Mierle <[email protected]> Commit-Queue: Ben Lawson <[email protected]>
- Loading branch information