about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAjax <commial@gmail.com>2019-01-15 14:12:47 +0100
committerAjax <commial@gmail.com>2019-01-15 14:13:22 +0100
commit21448f0e3b0df0ba44d011c4c04af3ea12ca354d (patch)
tree87a4fed5d10920e9bfc140068638a48d5fd0b475
parent707de78f378e35c5ee8fa79f46b9d06c1d3a5177 (diff)
downloadmiasm-21448f0e3b0df0ba44d011c4c04af3ea12ca354d.tar.gz
miasm-21448f0e3b0df0ba44d011c4c04af3ea12ca354d.zip
LLVMConvert: fix mini-typo
-rw-r--r--miasm2/jitter/llvmconvert.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/jitter/llvmconvert.py b/miasm2/jitter/llvmconvert.py
index 37ce8d52..17112528 100644
--- a/miasm2/jitter/llvmconvert.py
+++ b/miasm2/jitter/llvmconvert.py
@@ -1297,7 +1297,7 @@ class LLVMFunction(object):
             # Update PC for dump_gpregs
             PC = self.llvm_context.PC
             t_size = LLVMType.IntType(PC.size)
-            dst = self.builder.zext(t_size(pc_value), LLVMType.IntType(PC.size))
+            dst = self.builder.zext(t_size(pc_value), t_size)
             self.affect(dst, PC)
 
             fc_ptr = self.mod.get_global(self.llvm_context.logging_func)