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

Unified Diff: native_client_sdk/src/libraries/nacl_io/node.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/libraries/nacl_io/node.cc
diff --git a/native_client_sdk/src/libraries/nacl_io/node.cc b/native_client_sdk/src/libraries/nacl_io/node.cc
index b8876edd1a16e755c60fe73a1e2f80a6c0976920..fc30867bc9fcd459b15c348e4c279e235246e375 100644
--- a/native_client_sdk/src/libraries/nacl_io/node.cc
+++ b/native_client_sdk/src/libraries/nacl_io/node.cc
@@ -165,7 +165,7 @@ int Node::GetLinks() { return stat_.st_nlink; }
int Node::GetMode() { return stat_.st_mode & ~S_IFMT; }
-Error Node::GetSize(size_t* out_size) {
+Error Node::GetSize(off_t* out_size) {
*out_size = stat_.st_size;
return 0;
}
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/node.h ('k') | native_client_sdk/src/libraries/nacl_io/osinttypes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698