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
*/
#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) {