Use braced integer literal rather than suffixes to ensure compilation regardless of the definition of int64.
PiperOrigin-RevId: 333364688 Change-Id: Ic060edf78e495f5fbe4fd085f06672e98c6939ea
This commit is contained in:
parent
8462b8b6c2
commit
c4e48908f9
@ -25,7 +25,7 @@ PrefetchAutotuner::PrefetchAutotuner(int64 initial_buffer_size,
|
||||
: buffer_limit_(initial_buffer_size) {
|
||||
if (initial_buffer_size == model::kAutotune) {
|
||||
mode_ = Mode::kUpswing;
|
||||
buffer_limit_ = std::max(1LL, buffer_size_min);
|
||||
buffer_limit_ = std::max(int64{1}, buffer_size_min);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user