summaryrefslogtreecommitdiff
path: root/absl/random/internal/pcg_engine.h
diff options
context:
space:
mode:
Diffstat (limited to 'absl/random/internal/pcg_engine.h')
-rw-r--r--absl/random/internal/pcg_engine.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/absl/random/internal/pcg_engine.h b/absl/random/internal/pcg_engine.h
index 8efaf2e0..4ab44c94 100644
--- a/absl/random/internal/pcg_engine.h
+++ b/absl/random/internal/pcg_engine.h
@@ -262,7 +262,7 @@ struct pcg_xsl_rr_128_64 {
uint64_t rotate = h >> 58u;
uint64_t s = Uint128Low64(state) ^ h;
#endif
- return rotr(s, rotate);
+ return rotr(s, static_cast<int>(rotate));
}
};