Use the right type

--HG--
extra : convert_revision : b5ca3153ca786ea4e86bfe83f7760ba9ee41a882
This commit is contained in:
Nathan Binkert 2007-06-09 23:00:13 -07:00
parent 9f75ac783b
commit 11f1c8dd3e

View file

@ -29,6 +29,9 @@
* Korey Sewell * Korey Sewell
*/ */
#include <algorithm>
#include <cstring>
#include "config/use_checker.hh" #include "config/use_checker.hh"
#include "arch/isa_traits.hh" #include "arch/isa_traits.hh"
@ -48,8 +51,6 @@
#include "sim/system.hh" #include "sim/system.hh"
#endif // FULL_SYSTEM #endif // FULL_SYSTEM
#include <algorithm>
template<class Impl> template<class Impl>
void void
DefaultFetch<Impl>::IcachePort::setPeer(Port *port) DefaultFetch<Impl>::IcachePort::setPeer(Port *port)
@ -374,7 +375,7 @@ DefaultFetch<Impl>::processCacheCompletion(PacketPtr pkt)
return; return;
} }
memcpy(cacheData[tid], pkt->getPtr<uint8_t *>(), cacheBlkSize); memcpy(cacheData[tid], pkt->getPtr<uint8_t>(), cacheBlkSize);
cacheDataValid[tid] = true; cacheDataValid[tid] = true;
if (!drainPending) { if (!drainPending) {