From 753cb798b59af4629a9efa5a1c7dc593ef2dcc19 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Mon, 26 Feb 2018 16:50:26 +0100 Subject: [PATCH] Fixed compil --- include/linphone/utils/static-string.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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' } {} }; };