summaryrefslogtreecommitdiff
path: root/src/buildtool/storage/file_chunker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/storage/file_chunker.cpp')
-rw-r--r--src/buildtool/storage/file_chunker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildtool/storage/file_chunker.cpp b/src/buildtool/storage/file_chunker.cpp
index af318501..8e747900 100644
--- a/src/buildtool/storage/file_chunker.cpp
+++ b/src/buildtool/storage/file_chunker.cpp
@@ -99,14 +99,14 @@ auto FileChunker::NextChunkBoundary() noexcept -> std::size_t {
}
for (; i < normal_size; i++) {
fp = (fp << 1U) +
- gsl::at(gear_table, static_cast<uint8_t>(buffer_[pos_ + i]));
+ gsl::at(gear_table, static_cast<std::uint8_t>(buffer_[pos_ + i]));
if ((fp & kMaskS) == 0) {
return i; // if the masked bits are all '0'
}
}
for (; i < n; i++) {
fp = (fp << 1U) +
- gsl::at(gear_table, static_cast<uint8_t>(buffer_[pos_ + i]));
+ gsl::at(gear_table, static_cast<std::uint8_t>(buffer_[pos_ + i]));
if ((fp & kMaskL) == 0) {
return i; // if the masked bits are all '0'
}