diff options
author | Gabe Black <gblack@eecs.umich.edu> | 2007-03-10 15:21:55 -0500 |
---|---|---|
committer | Gabe Black <gblack@eecs.umich.edu> | 2007-03-10 15:21:55 -0500 |
commit | 25dc5569c3ed046b5c0163e6f8dc5342fe69eb33 (patch) | |
tree | 021dc56d04ceff4e8a5f2ad6eff76046e45db4c9 /src/dev | |
parent | df1ea2cf05e41c0be33eeb9f91c3adfb985005c2 (diff) | |
download | gem5-25dc5569c3ed046b5c0163e6f8dc5342fe69eb33.tar.xz |
Compilation fix
--HG--
extra : convert_revision : 8bfa5e9408d1ead0197aab5078c248876f90ea7a
Diffstat (limited to 'src/dev')
-rw-r--r-- | src/dev/sparc/mm_disk.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dev/sparc/mm_disk.cc b/src/dev/sparc/mm_disk.cc index b8cabd0cf..81c5c589a 100644 --- a/src/dev/sparc/mm_disk.cc +++ b/src/dev/sparc/mm_disk.cc @@ -45,7 +45,7 @@ #include "sim/system.hh" MmDisk::MmDisk(Params *p) - : BasicPioDevice(p), image(p->image), curSector((uint64_t)-1), dirty(false) + : BasicPioDevice(p), image(p->image), curSector((off_t)-1), dirty(false) { std::memset(&diskData, 0, SectorSize); pioSize = image->size() * SectorSize; |