aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Matrix44Test.cpp
diff options
context:
space:
mode:
authorGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-04-06 20:01:46 +0000
committerGravatar robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-04-06 20:01:46 +0000
commit09042b80d22837c760bb530124aaa67469b19b8f (patch)
tree1e4e2a5e1f31c6d4eb83d290f9dec0591d1058e8 /tests/Matrix44Test.cpp
parent419400bf6e475dfbaa424ef0155598a3422cfa67 (diff)
Fixing Windows compiler complaints
Diffstat (limited to 'tests/Matrix44Test.cpp')
-rw-r--r--tests/Matrix44Test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Matrix44Test.cpp b/tests/Matrix44Test.cpp
index 485b38bc49..9846e7df07 100644
--- a/tests/Matrix44Test.cpp
+++ b/tests/Matrix44Test.cpp
@@ -69,7 +69,7 @@ static void test_common_angles(skiatest::Reporter* reporter) {
// Test precision of rotation in common cases
int common_angles[] = { 0, 90, -90, 180, -180, 270, -270, 360, -360 };
for (int i = 0; i < 9; ++i) {
- rot.setRotateDegreesAbout(0, 0, -1, common_angles[i]);
+ rot.setRotateDegreesAbout(0, 0, -1, SkIntToScalar(common_angles[i]));
SkMatrix rot3x3 = rot;
REPORTER_ASSERT(reporter, rot3x3.rectStaysRect());