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

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

Issue 269593011: [NaCl SDK] Modifying size_t and int to off_t. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Place __STDC_FORMAT_MACROS inside conditional block Created 6 years, 8 months 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/mem_fs_node_test.cc
diff --git a/native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc b/native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc
index d6d8c1844b71096d4151a1bf07a2c520a986ffce..dc521c6986cc3c9108fa8d093b94807209261cd7 100644
--- a/native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc
+++ b/native_client_sdk/src/tests/nacl_io_test/mem_fs_node_test.cc
@@ -68,7 +68,7 @@ class DirNodeForTesting : public DirNode {
TEST(MemFsNodeTest, File) {
MemFsNodeForTesting file;
ScopedNode result_node;
- size_t result_size = 0;
+ off_t result_size = 0;
int result_bytes = 0;
EXPECT_EQ(0, file.Init(0));
@@ -120,7 +120,7 @@ TEST(MemFsNodeTest, File) {
TEST(MemFsNodeTest, FTruncate) {
MemFsNodeForTesting file;
- size_t result_size = 0;
+ off_t result_size = 0;
int result_bytes = 0;
char data[1024];
@@ -197,7 +197,7 @@ TEST(MemFsNodeTest, Directory) {
s_alloc_num = 0;
DirNodeForTesting root;
ScopedNode result_node;
- size_t result_size = 0;
+ off_t result_size = 0;
int result_bytes = 0;
root.Init(0);
« no previous file with comments | « native_client_sdk/src/tests/nacl_io_test/http_fs_test.cc ('k') | native_client_sdk/src/tests/nacl_io_test/mock_node.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698