Compilation fix
--HG-- extra : convert_revision : 8bfa5e9408d1ead0197aab5078c248876f90ea7a
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user