aboutsummaryrefslogtreecommitdiff
path: root/gold/fileread.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2007-12-20 21:21:24 +0000
committerIan Lance Taylor <iant@google.com>2007-12-20 21:21:24 +0000
commitfe8718a4637d92b3cd991a8f1a22d6d0a09bc6dd (patch)
tree1d8c345aa0b876471ab9e73e4f22c04d65aa61bf /gold/fileread.h
parent1f7efbae406ff9f2e8967d508bfae665501dc8ae (diff)
downloadgdb-fe8718a4637d92b3cd991a8f1a22d6d0a09bc6dd.zip
gdb-fe8718a4637d92b3cd991a8f1a22d6d0a09bc6dd.tar.gz
gdb-fe8718a4637d92b3cd991a8f1a22d6d0a09bc6dd.tar.bz2
Convert more instances of off_t to be 32-bit types.
Diffstat (limited to 'gold/fileread.h')
-rw-r--r--gold/fileread.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gold/fileread.h b/gold/fileread.h
index 088a76b..1c47f24 100644
--- a/gold/fileread.h
+++ b/gold/fileread.h
@@ -115,7 +115,7 @@ class File_read
// Read data from the file into the buffer P starting at file offset
// START for SIZE bytes.
void
- read(off_t start, off_t size, void* p) const;
+ read(off_t start, section_size_type size, void* p) const;
// Return a lasting view into the file starting at file offset START
// for SIZE bytes. This is allocated with new, and the caller is
@@ -209,7 +209,7 @@ class File_read
// Read data from the file into a buffer.
void
- do_read(off_t start, off_t size, void* p) const;
+ do_read(off_t start, section_size_type size, void* p) const;
// Find or make a view into the file.
View*