blob: 639526afe275a1c2181ddfc8f6504617510d72c3 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
--- test/IntToFloat.cpp.orig 2013-02-11 17:23:26 UTC
+++ test/IntToFloat.cpp
@@ -117,7 +117,7 @@ TEST_F(IntToFloatTest, Int16)
EXPECT_EQ(readData[i], expectedData[i]);
}
-static const int32_t kMinInt24 = -1<<23;
+static const int32_t kMinInt24 = ~0u<<23;
static const int32_t kMaxInt24 = (1<<23) - 1;
TEST_F(IntToFloatTest, Int24)
|