Fixed as many -Wconversion warnings in lexical cast and tests as possible (refs #2558)

[SVN r82695]
This commit is contained in:
Antony Polukhin committed 2013-02-03 09:20:28 +00:00
1 parent 3e4a1669f1
commit 5c8c897d30
3 files changed
+18 -18

No files matched your search

+1 -1
View File
@@ -48,7 +48,7 @@ int test_main( int , char * [] )
long large_negative_value = LONG_MIN;
signed char c = 0;
c = large_value; // see if compiler generates warning
c = static_cast<signed char>(large_value);
c = numeric_cast<signed char>( small_value );
BOOST_CHECK( c == 1 );