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

Unified Diff: native_client_sdk/src/libraries/nacl_io/passthroughfs/passthrough_fs.cc

Issue 176923017: [NaCl SDK] Compile for naclio for Bionic (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix bug in h_error Created 6 years, 9 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/passthroughfs/passthrough_fs.cc
diff --git a/native_client_sdk/src/libraries/nacl_io/passthroughfs/passthrough_fs.cc b/native_client_sdk/src/libraries/nacl_io/passthroughfs/passthrough_fs.cc
index ebbec7d042a1b1a19fd3a915a04c4eaef13ea4b6..8b3bcab9f0b5be165ef9e60fd5c03e87b9a99025 100644
--- a/native_client_sdk/src/libraries/nacl_io/passthroughfs/passthrough_fs.cc
+++ b/native_client_sdk/src/libraries/nacl_io/passthroughfs/passthrough_fs.cc
@@ -33,7 +33,7 @@ class PassthroughFsNode : public Node {
int* out_bytes) {
*out_bytes = 0;
- off_t new_offset;
+ int64_t new_offset;
int err = _real_lseek(real_fd_, attr.offs, 0, &new_offset);
if (err)
return err;
@@ -53,7 +53,7 @@ class PassthroughFsNode : public Node {
int* out_bytes) {
*out_bytes = 0;
- off_t new_offset;
+ int64_t new_offset;
int err = _real_lseek(real_fd_, attr.offs, 0, &new_offset);
if (err)
return err;
« no previous file with comments | « native_client_sdk/src/libraries/nacl_io/ossignal.h ('k') | native_client_sdk/src/libraries/nacl_io/socket/socket_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698