summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mem/packet_access.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mem/packet_access.hh b/src/mem/packet_access.hh
index 1a2db6921..1fee979ce 100644
--- a/src/mem/packet_access.hh
+++ b/src/mem/packet_access.hh
@@ -66,7 +66,7 @@ Packet::setRaw(T v)
{
assert(flags.isSet(STATIC_DATA|DYNAMIC_DATA));
assert(sizeof(T) <= size);
- *(T*)data = TheISA::htog(v);
+ *(T*)data = v;
}