正在显示
1 个修改的文件
包含
5 行增加
和
5 行删除
@@ -1207,12 +1207,12 @@ VOID TEST(KernelStreamTest, StreamRead8Bytes) | @@ -1207,12 +1207,12 @@ VOID TEST(KernelStreamTest, StreamRead8Bytes) | ||
1207 | data[18] = 0x13; | 1207 | data[18] = 0x13; |
1208 | data[19] = 0x14; | 1208 | data[19] = 0x14; |
1209 | 1209 | ||
1210 | - EXPECT_EQ(0x0102030405060708, s.read_8bytes()); | ||
1211 | - EXPECT_EQ(0x090a0b0c0d0e0f10, s.read_8bytes()); | 1210 | + EXPECT_EQ(0x0102030405060708LL, s.read_8bytes()); |
1211 | + EXPECT_EQ(0x090a0b0c0d0e0f10LL, s.read_8bytes()); | ||
1212 | 1212 | ||
1213 | s.skip(-1 * s.pos()); | 1213 | s.skip(-1 * s.pos()); |
1214 | s.skip(5); | 1214 | s.skip(5); |
1215 | - EXPECT_EQ(0x060708090a0b0c0d, s.read_8bytes()); | 1215 | + EXPECT_EQ(0x060708090a0b0c0dLL, s.read_8bytes()); |
1216 | } | 1216 | } |
1217 | 1217 | ||
1218 | /** | 1218 | /** |
@@ -1365,8 +1365,8 @@ VOID TEST(KernelStreamTest, StreamWrite8Bytes) | @@ -1365,8 +1365,8 @@ VOID TEST(KernelStreamTest, StreamWrite8Bytes) | ||
1365 | 1365 | ||
1366 | EXPECT_TRUE(ERROR_SUCCESS == s.initialize(data, 1024)); | 1366 | EXPECT_TRUE(ERROR_SUCCESS == s.initialize(data, 1024)); |
1367 | 1367 | ||
1368 | - s.write_8bytes(0x1011121314151617); | ||
1369 | - s.write_8bytes(0x1819202122232425); | 1368 | + s.write_8bytes(0x1011121314151617LL); |
1369 | + s.write_8bytes(0x1819202122232425LL); | ||
1370 | 1370 | ||
1371 | s.skip(-1 * s.pos()); | 1371 | s.skip(-1 * s.pos()); |
1372 | EXPECT_EQ(0x10, s.read_1bytes()); | 1372 | EXPECT_EQ(0x10, s.read_1bytes()); |
-
请 注册 或 登录 后发表评论