include/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp b/include/boost/spirit/home/karma/numeric/detail/numeric_utils.hpp
index 2ce7b74..49c444f 100644
a
|
b
|
namespace boost { namespace spirit { namespace traits
|
68 | 68 | typedef unsignedtype type; \ |
69 | 69 | static type call(signedtype n) \ |
70 | 70 | { \ |
71 | | return (n >= 0) ? n : (unsignedtype)(-n); \ |
| 71 | return unsignedtype((n >= 0) ? n : (-n)); \ |
72 | 72 | } \ |
73 | 73 | } \ |
74 | 74 | /**/ |