about summary refs log tree commit diff stats
path: root/miasm2/expression/expression_helper.py
diff options
context:
space:
mode:
authorserpilliere <serpilliere@users.noreply.github.com>2017-03-30 16:24:26 +0200
committerGitHub <noreply@github.com>2017-03-30 16:24:26 +0200
commit7947f33a61118c35a6b24aaac29337e2739216b4 (patch)
tree6c281f7fc4efd326fb95151173b7847026a94f05 /miasm2/expression/expression_helper.py
parentcedf19e7d73ca8d603f2e1ed7f5306db27678e65 (diff)
parente8916cf8cc44a0cc375af762b38798cb378b986c (diff)
downloadmiasm-7947f33a61118c35a6b24aaac29337e2739216b4.tar.gz
miasm-7947f33a61118c35a6b24aaac29337e2739216b4.zip
Merge pull request #509 from commial/fix/int-singleton
Fix/int singleton
Diffstat (limited to 'miasm2/expression/expression_helper.py')
-rw-r--r--miasm2/expression/expression_helper.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm2/expression/expression_helper.py b/miasm2/expression/expression_helper.py
index 36e5f1d5..1e718faa 100644
--- a/miasm2/expression/expression_helper.py
+++ b/miasm2/expression/expression_helper.py
@@ -521,7 +521,7 @@ class CondConstraintNotZero(CondConstraint):
     operator = "!="
 
     def to_constraint(self):
-        cst1, cst2 = m2_expr.ExprInt1(0), m2_expr.ExprInt1(1)
+        cst1, cst2 = m2_expr.ExprInt(0, 1), m2_expr.ExprInt(1, 1)
         return m2_expr.ExprAff(cst1, m2_expr.ExprCond(self.expr, cst1, cst2))