From 25dc5569c3ed046b5c0163e6f8dc5342fe69eb33 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sat, 10 Mar 2007 15:21:55 -0500 Subject: [PATCH] Compilation fix --HG-- extra : convert_revision : 8bfa5e9408d1ead0197aab5078c248876f90ea7a --- src/dev/sparc/mm_disk.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2