Skip to content

Commit 06e50ef

Browse files
committed
Resolve some warnings from MSVC
1 parent b83a823 commit 06e50ef

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/json/integer.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@ namespace tao
1818
}
1919

2020
template< typename T, typename U >
21-
void test_integer( const U input, const T v )
21+
void test_integer( const U input, const U v )
2222
{
2323
const value j = input;
24-
TEST_ASSERT( j.as< T >() == v );
24+
TEST_ASSERT( j.as< T >() == static_cast< T >( v ) );
2525
}
2626

2727
template< typename T >

0 commit comments

Comments
 (0)