Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9780fc35 authored by Nick Kralevich's avatar Nick Kralevich Committed by Gerrit Code Review
Browse files

Merge "zip_writer_test.cc: fix implicit integer truncation"

parents 66b0c31f 28714119
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -257,7 +257,7 @@ TEST_F(zipwriter, WriteCompressedZipFlushFull) {
  std::vector<uint8_t> buffer(kBufSize);
  size_t prev = 1;
  for (size_t i = 0; i < kBufSize; i++) {
    buffer[i] = i + prev;
    buffer[i] = static_cast<uint8_t>(i + prev);
    prev = i;
  }