diff --git a/src/language/node_processor/AffectationProcessor.hpp b/src/language/node_processor/AffectationProcessor.hpp
index e28c8044b2ec1543fb8dddaf38884aea26734e24..4aaace91aacd89b44eb2be5f6ce4e080c5420413 100644
--- a/src/language/node_processor/AffectationProcessor.hpp
+++ b/src/language/node_processor/AffectationProcessor.hpp
@@ -582,7 +582,7 @@ class AffectationFromTupleProcessor final : public AffectationToDataVariantProce
                                     std::is_same_v<ValueT, TinyMatrix<1>>)and(std::is_arithmetic_v<TupleContentType>)) {
                 *m_lhs = std::move(ValueT(v[0]));
               } else if constexpr (std::is_same_v<std::string, ValueT>) {
-                *m_lhs = std::move(stringify(v[0]));
+                *m_lhs = std::move(stringify(static_cast<TupleContentType>(v[0])));
               } else {
                 // LCOV_EXCL_START
                 throw UnexpectedError("unexpected rhs tuple content");