diff options
author | Victor Costan <costan@google.com> | 2022-09-29 09:46:03 -0700 |
---|---|---|
committer | Victor Costan <costan@google.com> | 2022-09-29 09:56:09 -0700 |
commit | a5054767929fb750adff8248c6dc719f1adb135c (patch) | |
tree | fe229afa2d3b496cb30ee913af2545e19d85ea36 /snappy.cc | |
parent | 9758c9dfd744f252bf3351c1a212e05c9f7fc857 (diff) | |
download | snappy-git-a5054767929fb750adff8248c6dc719f1adb135c.tar.gz |
Test: fix build error.fix_build
Diffstat (limited to 'snappy.cc')
-rw-r--r-- | snappy.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2041,7 +2041,7 @@ size_t CompressFromIOVec(const struct iovec* iov, size_t iov_cnt, std::string* compressed) { // Compute the number of bytes to be compressed. size_t uncompressed_length = 0; - for (int i = 0; i < iov_cnt; ++i) { + for (size_t i = 0; i < iov_cnt; ++i) { uncompressed_length += iov[i].iov_len; } |