summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/mmap.cc4
2 files changed, 7 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 5f621f85a4b..f6ab6e6a1d6 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,8 @@
+2007-01-18 Corinna Vinschen <corinna@vinschen.de>
+
+ * mmap.cc (list::hash): Fix type to __ino64_t.
+ (list::get_hash): Ditto.
+
2007-01-17 Corinna Vinschen <corinna@vinschen.de>
* mmap.cc (MapView9x): Note possible uselessness of retrying.
diff --git a/winsup/cygwin/mmap.cc b/winsup/cygwin/mmap.cc
index 8d068acd402..d7eed339362 100644
--- a/winsup/cygwin/mmap.cc
+++ b/winsup/cygwin/mmap.cc
@@ -510,11 +510,11 @@ class list
mmap_record *recs;
int nrecs, maxrecs;
int fd;
- DWORD hash;
+ __ino64_t hash;
public:
int get_fd () const { return fd; }
- DWORD get_hash () const { return hash; }
+ __ino64_t get_hash () const { return hash; }
mmap_record *get_record (int i) { return i >= nrecs ? NULL : recs + i; }
bool anonymous () const { return fd == -1; }