diff options
Diffstat (limited to 'src/cpu/minor/execute.cc')
-rw-r--r-- | src/cpu/minor/execute.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cpu/minor/execute.cc b/src/cpu/minor/execute.cc index 123128358..69cb9a239 100644 --- a/src/cpu/minor/execute.cc +++ b/src/cpu/minor/execute.cc @@ -355,7 +355,7 @@ Execute::handleMemResponse(MinorDynInstPtr inst, if (is_load && packet->getSize() > 0) { DPRINTF(MinorMem, "Memory data[0]: 0x%x\n", - static_cast<unsigned int>(packet->getPtr<uint8_t>()[0])); + static_cast<unsigned int>(packet->getConstPtr<uint8_t>()[0])); } /* Complete the memory access instruction */ |