Index: test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/unsigned_long_long.pass.cpp =================================================================== --- test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/unsigned_long_long.pass.cpp +++ test/std/input.output/iostream.format/output.streams/ostream.formatted/ostream.inserters.arithmetic/unsigned_long_long.pass.cpp @@ -76,7 +76,7 @@ testbuf sb; std::ostream os(&sb); hex(os); - unsigned long long n = -10; + unsigned long long n = static_cast(-10); os << n; assert(sb.str() == "fffffffffffffff6"); } Index: test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_unsigned_long.pass.cpp =================================================================== --- test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_unsigned_long.pass.cpp +++ test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_unsigned_long.pass.cpp @@ -61,7 +61,7 @@ } { std::ios ios(0); - unsigned long v = -1; + unsigned long v = static_cast(-1); char str[50]; output_iterator iter = f.put(output_iterator(str), ios, '*', v); std::string ex(str, iter.base()); @@ -69,7 +69,7 @@ } { std::ios ios(0); - unsigned long v = -1000; + unsigned long v = static_cast(-1000); char str[50]; output_iterator iter = f.put(output_iterator(str), ios, '*', v); std::string ex(str, iter.base()); @@ -307,7 +307,7 @@ { std::ios ios(0); ios.imbue(std::locale(std::locale::classic(), new my_numpunct)); - unsigned long v = -1000; + unsigned long v = static_cast(-1000); right(ios); showpos(ios); ios.width(10); @@ -321,7 +321,7 @@ { std::ios ios(0); ios.imbue(std::locale(std::locale::classic(), new my_numpunct)); - unsigned long v = -1000; + unsigned long v = static_cast(-1000); left(ios); ios.width(10); char str[50]; @@ -334,7 +334,7 @@ { std::ios ios(0); ios.imbue(std::locale(std::locale::classic(), new my_numpunct)); - unsigned long v = -1000; + unsigned long v = static_cast(-1000); internal(ios); ios.width(10); char str[50]; Index: test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_unsigned_long_long.pass.cpp =================================================================== --- test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_unsigned_long_long.pass.cpp +++ test/std/localization/locale.categories/category.numeric/locale.nm.put/facet.num.put.members/put_unsigned_long_long.pass.cpp @@ -61,7 +61,7 @@ } { std::ios ios(0); - unsigned long long v = -1; + unsigned long long v = static_cast(-1); char str[50]; output_iterator iter = f.put(output_iterator(str), ios, '*', v); std::string ex(str, iter.base()); @@ -69,7 +69,7 @@ } { std::ios ios(0); - unsigned long long v = -1000; + unsigned long long v = static_cast(-1000); char str[50]; output_iterator iter = f.put(output_iterator(str), ios, '*', v); std::string ex(str, iter.base()); @@ -307,7 +307,7 @@ { std::ios ios(0); ios.imbue(std::locale(std::locale::classic(), new my_numpunct)); - unsigned long long v = -1000; + unsigned long long v = static_cast(-1000); right(ios); showpos(ios); ios.width(10); @@ -320,7 +320,7 @@ { std::ios ios(0); ios.imbue(std::locale(std::locale::classic(), new my_numpunct)); - unsigned long long v = -1000; + unsigned long long v = static_cast(-1000); left(ios); ios.width(10); char str[50]; @@ -332,7 +332,7 @@ { std::ios ios(0); ios.imbue(std::locale(std::locale::classic(), new my_numpunct)); - unsigned long long v = -1000; + unsigned long long v = static_cast(-1000); internal(ios); ios.width(10); char str[50]; Index: test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_unsigned_int.pass.cpp =================================================================== --- test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_unsigned_int.pass.cpp +++ test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_unsigned_int.pass.cpp @@ -45,7 +45,7 @@ { const my_facet f(1); std::ios ios(0); - unsigned int v = -1; + unsigned int v = static_cast(-1); { const char str[] = "0"; std::ios_base::iostate err = ios.goodbit; Index: test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_unsigned_long.pass.cpp =================================================================== --- test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_unsigned_long.pass.cpp +++ test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_unsigned_long.pass.cpp @@ -45,7 +45,7 @@ { const my_facet f(1); std::ios ios(0); - unsigned long v = -1; + unsigned long v = static_cast(-1); { const char str[] = "0"; std::ios_base::iostate err = ios.goodbit; Index: test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_unsigned_long_long.pass.cpp =================================================================== --- test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_unsigned_long_long.pass.cpp +++ test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_unsigned_long_long.pass.cpp @@ -45,7 +45,7 @@ { const my_facet f(1); std::ios ios(0); - unsigned long long v = -1; + unsigned long long v = static_cast(-1); { const char str[] = "0"; std::ios_base::iostate err = ios.goodbit; Index: test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_unsigned_short.pass.cpp =================================================================== --- test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_unsigned_short.pass.cpp +++ test/std/localization/locale.categories/category.numeric/locale.num.get/facet.num.get.members/get_unsigned_short.pass.cpp @@ -45,7 +45,7 @@ { const my_facet f(1); std::ios ios(0); - unsigned short v = -1; + unsigned short v = static_cast(-1); { const char str[] = "0"; std::ios_base::iostate err = ios.goodbit;