diff --git a/include/linphone/utils/static-string.h b/include/linphone/utils/static-string.h index 222095ce7..ae65f6668 100644 --- a/include/linphone/utils/static-string.h +++ b/include/linphone/utils/static-string.h @@ -113,11 +113,11 @@ namespace Private { private: template= 0, int>::type* = nullptr> constexpr StaticIntStringHelper (const IndexSequence &) : - raw{ ('0' + Value / pow10(N - Index - 2) % 10 )..., '\0' } {} + raw{ char('0' + Value / pow10(N - Index - 2) % 10 )..., '\0' } {} template::type* = nullptr> constexpr StaticIntStringHelper (const IndexSequence &) : - raw{ '-', ('0' + abs(Value) / pow10(N - Index - 3) % 10 )..., '\0' } {} + raw{ '-', char('0' + abs(Value) / pow10(N - Index - 3) % 10 )..., '\0' } {} }; };