diff --git a/poincare/src/simplify/simplification_generator.cpp b/poincare/src/simplify/simplification_generator.cpp index 4cc0bcf1b..05df45b68 100644 --- a/poincare/src/simplify/simplification_generator.cpp +++ b/poincare/src/simplify/simplification_generator.cpp @@ -5,7 +5,7 @@ extern "C" { } Expression * SimplificationGenerator::AddIntegers(Expression ** parameters, int numberOfParameters) { - Integer * result = new Integer(0); + Integer * result = new Integer((native_int_t)0); for (int i=0; itype() == Expression::Type::Integer); // FIXME: get rid of this operator overloading.