about summary refs log tree commit diff stats
path: root/subx/010core.cc
diff options
context:
space:
mode:
Diffstat (limited to 'subx/010core.cc')
-rw-r--r--subx/010core.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/subx/010core.cc b/subx/010core.cc
index 2816f559..61ae583e 100644
--- a/subx/010core.cc
+++ b/subx/010core.cc
@@ -40,7 +40,7 @@ SF = ZF = OF = false;
   /* arg1 and arg2 must be signed */ \
   int64_t tmp = arg1 op arg2; \
   arg1 = arg1 op arg2; \
-  trace(2, "run") << "storing 0x" << std::hex << arg1 << end(); \
+  trace(2, "run") << "storing 0x" << HEXWORD << arg1 << end(); \
   SF = (arg1 < 0); \
   ZF = (arg1 == 0); \
   OF = (arg1 != tmp); \
@@ -49,7 +49,7 @@ SF = ZF = OF = false;
 #define BINARY_BITWISE_OP(op, arg1, arg2) { \
   /* arg1 and arg2 must be unsigned */ \
   arg1 = arg1 op arg2; \
-  trace(2, "run") << "storing 0x" << std::hex << arg1 << end(); \
+  trace(2, "run") << "storing 0x" << HEXWORD << arg1 << end(); \
   SF = (arg1 >> 31); \
   ZF = (arg1 == 0); \
   OF = false; \