aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/BitmapTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/BitmapTest.cpp')
-rw-r--r--tests/BitmapTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/BitmapTest.cpp b/tests/BitmapTest.cpp
index a6859fabf0..250b6da32c 100644
--- a/tests/BitmapTest.cpp
+++ b/tests/BitmapTest.cpp
@@ -24,7 +24,7 @@ DEF_TEST(Bitmap, reporter) {
if (setConf) {
REPORTER_ASSERT(reporter, bm.allocPixels(NULL));
}
- REPORTER_ASSERT(reporter, (width & height) != bm.empty());
+ REPORTER_ASSERT(reporter, SkToBool(width & height) != bm.empty());
}
}
}