diff --git a/LCS/Common/include/Common/ComplexBuiltinInt.h b/LCS/Common/include/Common/ComplexBuiltinInt.h index 02290ca01d274a5fdbbd9b9e92011878e43fd77c..3a944f9da774a0e5400436c50fdef87235875eda 100644 --- a/LCS/Common/include/Common/ComplexBuiltinInt.h +++ b/LCS/Common/include/Common/ComplexBuiltinInt.h @@ -83,7 +83,7 @@ namespace LOFAR { // Show the complex numbers. // <group> inline std::ostream& operator<< (std::ostream& os, TYPES::i8complex x) - { os << '(' << real(x) << ',' << imag(x) << ')'; return os; } + { os << '(' << (int)real(x) << ',' << (int)imag(x) << ')'; return os; } inline std::ostream& operator<< (std::ostream& os, TYPES::i16complex x) { os << '(' << real(x) << ',' << imag(x) << ')'; return os; } inline std::ostream& operator<< (std::ostream& os, TYPES::u16complex x)