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

Unified Diff: native_client_sdk/src/tests/nacl_io_test/mount_html5fs_test.cc

Issue 73083005: [NaCl SDK] Enable linux host build for nacl_io and nacl_io_tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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
Index: native_client_sdk/src/tests/nacl_io_test/mount_html5fs_test.cc
diff --git a/native_client_sdk/src/tests/nacl_io_test/mount_html5fs_test.cc b/native_client_sdk/src/tests/nacl_io_test/mount_html5fs_test.cc
index 12f4fcfc35f6e92732f50978eb1390ccf5393137..3f1bd11b14d0db3b7c12cb22da5c4e8cc1998732 100644
--- a/native_client_sdk/src/tests/nacl_io_test/mount_html5fs_test.cc
+++ b/native_client_sdk/src/tests/nacl_io_test/mount_html5fs_test.cc
@@ -452,7 +452,7 @@ TEST_F(MountHtml5FsTest, GetDents) {
EXPECT_EQ(sizeof(dirent) * num_dirents, bytes_read);
std::multiset<std::string> dirnames;
- for (int i = 0; i < num_dirents; ++i) {
+ for (size_t i = 0; i < num_dirents; ++i) {
EXPECT_EQ(sizeof(dirent), dirents[i].d_off);
EXPECT_EQ(sizeof(dirent), dirents[i].d_reclen);
dirnames.insert(dirents[i].d_name);
@@ -476,7 +476,7 @@ TEST_F(MountHtml5FsTest, GetDents) {
EXPECT_EQ(sizeof(dirent) * num_dirents, bytes_read);
std::multiset<std::string> dirnames;
- for (int i = 0; i < num_dirents; ++i) {
+ for (size_t i = 0; i < num_dirents; ++i) {
EXPECT_EQ(sizeof(dirent), dirents[i].d_off);
EXPECT_EQ(sizeof(dirent), dirents[i].d_reclen);
dirnames.insert(dirents[i].d_name);

Powered by Google App Engine
This is Rietveld 408576698