| 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;
|
|
|