From: Gabe Black Date: Sat, 10 Mar 2007 20:21:55 +0000 (-0500) Subject: Compilation fix X-Git-Tag: m5_2.0_beta3~121 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=25dc5569c3ed046b5c0163e6f8dc5342fe69eb33;p=gem5.git Compilation fix --HG-- extra : convert_revision : 8bfa5e9408d1ead0197aab5078c248876f90ea7a --- 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;