summaryrefslogtreecommitdiffstats
path: root/cc/resources/scoped_resource_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/resources/scoped_resource_unittest.cc')
-rw-r--r--cc/resources/scoped_resource_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/resources/scoped_resource_unittest.cc b/cc/resources/scoped_resource_unittest.cc
index a9a087e..97e93d2 100644
--- a/cc/resources/scoped_resource_unittest.cc
+++ b/cc/resources/scoped_resource_unittest.cc
@@ -42,7 +42,7 @@ TEST(ScopedResourceTest, CreateScopedResource) {
EXPECT_EQ(expected_bytes, texture->bytes());
EXPECT_LT(0u, texture->id());
- EXPECT_EQ(GL_RGBA, texture->format());
+ EXPECT_EQ(static_cast<unsigned>(GL_RGBA), texture->format());
EXPECT_EQ(gfx::Size(30, 30), texture->size());
}