Use the right type
--HG-- extra : convert_revision : b5ca3153ca786ea4e86bfe83f7760ba9ee41a882
This commit is contained in:
parent
9f75ac783b
commit
11f1c8dd3e
1 changed files with 4 additions and 3 deletions
|
@ -29,6 +29,9 @@
|
|||
* Korey Sewell
|
||||
*/
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstring>
|
||||
|
||||
#include "config/use_checker.hh"
|
||||
|
||||
#include "arch/isa_traits.hh"
|
||||
|
@ -48,8 +51,6 @@
|
|||
#include "sim/system.hh"
|
||||
#endif // FULL_SYSTEM
|
||||
|
||||
#include <algorithm>
|
||||
|
||||
template<class Impl>
|
||||
void
|
||||
DefaultFetch<Impl>::IcachePort::setPeer(Port *port)
|
||||
|
@ -374,7 +375,7 @@ DefaultFetch<Impl>::processCacheCompletion(PacketPtr pkt)
|
|||
return;
|
||||
}
|
||||
|
||||
memcpy(cacheData[tid], pkt->getPtr<uint8_t *>(), cacheBlkSize);
|
||||
memcpy(cacheData[tid], pkt->getPtr<uint8_t>(), cacheBlkSize);
|
||||
cacheDataValid[tid] = true;
|
||||
|
||||
if (!drainPending) {
|
||||
|
|
Loading…
Reference in a new issue