summaryrefslogtreecommitdiffstats
path: root/runtime/base/unix_file/fd_file.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/base/unix_file/fd_file.h')
-rw-r--r--runtime/base/unix_file/fd_file.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/base/unix_file/fd_file.h b/runtime/base/unix_file/fd_file.h
index 19e3511eb4..01f4ca2819 100644
--- a/runtime/base/unix_file/fd_file.h
+++ b/runtime/base/unix_file/fd_file.h
@@ -61,8 +61,8 @@ class FdFile : public RandomAccessFile {
return file_path_;
}
void DisableAutoClose();
- bool ReadFully(void* buffer, int64_t byte_count);
- bool WriteFully(const void* buffer, int64_t byte_count);
+ bool ReadFully(void* buffer, size_t byte_count);
+ bool WriteFully(const void* buffer, size_t byte_count);
private:
int fd_;