Fixed compiler warnings
[libcds.git] / test / unit / misc / split_bitstring.cpp
index 60531cb4854ea282181c93b90ae14e838cc23c57..360fd3d2bf1322305bf7c1dae12e21bf05e8818c 100644 (file)
@@ -698,7 +698,7 @@ namespace {
 
             // split by hex digit
             for ( unsigned count = 4; count < sizeof( Int ) * 8; count += 4 ) {
-                EXPECT_EQ( splitter.cut( 4 ), count / 4 - 1 );
+                EXPECT_EQ( splitter.cut( 4 ), static_cast<Int>( count / 4 - 1 ));
             }
 
             // random cut