about summary refs log tree commit diff stats
path: root/miasm/arch/sh4/arch.py
diff options
context:
space:
mode:
Diffstat (limited to 'miasm/arch/sh4/arch.py')
-rw-r--r--miasm/arch/sh4/arch.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm/arch/sh4/arch.py b/miasm/arch/sh4/arch.py
index 9310d3c3..3bf5049b 100644
--- a/miasm/arch/sh4/arch.py
+++ b/miasm/arch/sh4/arch.py
@@ -105,7 +105,7 @@ class sh4_arg(m_arg):
                 return arg.name
             if arg.name in gpregs.str:
                 return None
-            loc_key = loc_db.get_or_create_name_location(arg.name.encode())
+            loc_key = loc_db.get_or_create_name_location(arg.name)
             return ExprLoc(loc_key, 32)
         if isinstance(arg, AstOp):
             args = [self.asm_ast_to_expr(tmp, loc_db) for tmp in arg.args]