diff options
Diffstat (limited to 'src/cpu/simple/timing.cc')
-rw-r--r-- | src/cpu/simple/timing.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cpu/simple/timing.cc b/src/cpu/simple/timing.cc index 6666f6f9d..672fd9414 100644 --- a/src/cpu/simple/timing.cc +++ b/src/cpu/simple/timing.cc @@ -439,7 +439,7 @@ TimingSimpleCPU::read(Addr addr, T &data, unsigned flags) const int asid = 0; const ThreadID tid = 0; const Addr pc = thread->readPC(); - int block_size = dcachePort.peerBlockSize(); + unsigned block_size = dcachePort.peerBlockSize(); int data_size = sizeof(T); RequestPtr req = new Request(asid, addr, data_size, @@ -557,7 +557,7 @@ TimingSimpleCPU::write(T data, Addr addr, unsigned flags, uint64_t *res) const int asid = 0; const ThreadID tid = 0; const Addr pc = thread->readPC(); - int block_size = dcachePort.peerBlockSize(); + unsigned block_size = dcachePort.peerBlockSize(); int data_size = sizeof(T); RequestPtr req = new Request(asid, addr, data_size, |