Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Unified Diff: third_party/zlib/google/zip_unittest.cc

Issue 1552513002: Switch to standard integer types in third_party/zlib/google/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/zlib/google/zip_reader_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/zlib/google/zip_unittest.cc
diff --git a/third_party/zlib/google/zip_unittest.cc b/third_party/zlib/google/zip_unittest.cc
index eda9a680576e92eba0beb1274d796b22938bfce6..d54a5a8caf6e5f7d54a6da6276f6e717a85d90fc 100644
--- a/third_party/zlib/google/zip_unittest.cc
+++ b/third_party/zlib/google/zip_unittest.cc
@@ -2,6 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <stddef.h>
+#include <stdint.h>
+
#include <set>
#include <string>
#include <vector>
@@ -14,6 +17,7 @@
#include "base/path_service.h"
#include "base/strings/string_util.h"
#include "base/strings/stringprintf.h"
+#include "build/build_config.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "testing/platform_test.h"
#include "third_party/zlib/google/zip.h"
@@ -325,9 +329,9 @@ TEST_F(ZipTest, UnzipFilesWithIncorrectSize) {
SCOPED_TRACE(base::StringPrintf("Processing %d.txt", i));
base::FilePath file_path = temp_dir.AppendASCII(
base::StringPrintf("%d.txt", i));
- int64 file_size = -1;
+ int64_t file_size = -1;
EXPECT_TRUE(base::GetFileSize(file_path, &file_size));
- EXPECT_EQ(static_cast<int64>(i), file_size);
+ EXPECT_EQ(static_cast<int64_t>(i), file_size);
}
}
« no previous file with comments | « third_party/zlib/google/zip_reader_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698