diff options
Diffstat (limited to 'retrace/retrace.py')
-rw-r--r-- | retrace/retrace.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/retrace/retrace.py b/retrace/retrace.py index 136a4343..da5a79a3 100644 --- a/retrace/retrace.py +++ b/retrace/retrace.py @@ -109,7 +109,7 @@ class ValueAllocator(stdapi.Visitor): class ValueDeserializer(stdapi.Visitor, stdapi.ExpanderMixin): def visitLiteral(self, literal, lvalue, rvalue): - print ' %s = (%s).to%s();' % (lvalue, rvalue, literal.kind) + print ' %s = static_cast<const trace::%s *>(&%s)->value;' % (lvalue, literal.kind, rvalue) def visitConst(self, const, lvalue, rvalue): self.visit(const.type, lvalue, rvalue) |