diff options
author | Derek Mauro <dmauro@google.com> | 2023-03-20 12:18:53 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2023-03-20 12:19:48 -0700 |
commit | e5067964adcb792b7c9dbddbdcfe4d9b94079597 (patch) | |
tree | cdd231fd259cef020bbb8f559b8086e6a570f63e /absl/random/internal/nonsecure_base_test.cc | |
parent | f959f6ba970d9b2fef4fd2eb084668651dacf961 (diff) |
Fix an implicit truncation warning under MSVC 32-bit
Since the return value of `NumBits()` will always fit into `size_t`,
use an explicit cast to silence the implicit conversion warning.
Fixes #1384
PiperOrigin-RevId: 518041598
Change-Id: If2f2456db4b27b78e9ea9e026dce610953bd5bfb
Diffstat (limited to 'absl/random/internal/nonsecure_base_test.cc')
0 files changed, 0 insertions, 0 deletions