summaryrefslogtreecommitdiff
path: root/core/fxcodec
diff options
context:
space:
mode:
Diffstat (limited to 'core/fxcodec')
-rw-r--r--core/fxcodec/gif/cfx_lzwdecompressor_unittest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/fxcodec/gif/cfx_lzwdecompressor_unittest.cpp b/core/fxcodec/gif/cfx_lzwdecompressor_unittest.cpp
index 551bc1e23e..0a2c359a85 100644
--- a/core/fxcodec/gif/cfx_lzwdecompressor_unittest.cpp
+++ b/core/fxcodec/gif/cfx_lzwdecompressor_unittest.cpp
@@ -33,7 +33,7 @@ TEST(CFX_LZWDecompressor, ExtractData) {
EXPECT_EQ(10u, *(decompressor->DecompressedNextForTest()));
for (size_t i = 0; i < *(decompressor->DecompressedNextForTest()); ++i)
- EXPECT_EQ(i, decompressed->operator[](i));
+ EXPECT_EQ(i, (*decompressed)[i]);
}
// Check that less than decompressed size only gets the expected number
@@ -53,7 +53,7 @@ TEST(CFX_LZWDecompressor, ExtractData) {
EXPECT_EQ(5u, *(decompressor->DecompressedNextForTest()));
for (i = 0; i < *(decompressor->DecompressedNextForTest()); ++i)
- EXPECT_EQ(i, decompressed->operator[](i));
+ EXPECT_EQ(i, (*decompressed)[i]);
}
// Check that greater than decompressed size depletes the decompressor