Index: tests/RecordPatternTest.cpp |
diff --git a/tests/RecordPatternTest.cpp b/tests/RecordPatternTest.cpp |
index ae13b28fc4165a81ddb64b6d425fae05da6c5afc..b88165d6f3d50bc93f33081aa69b75c1132b32cb 100644 |
--- a/tests/RecordPatternTest.cpp |
+++ b/tests/RecordPatternTest.cpp |
@@ -1,3 +1,10 @@ |
+/* |
+ * Copyright 2015 Google Inc. |
+ * |
+ * Use of this source code is governed by a BSD-style license that can be |
+ * found in the LICENSE file. |
+ */ |
+ |
#include "Test.h" |
#include "SkRecord.h" |
@@ -47,7 +54,7 @@ DEF_TEST(RecordPattern_StartingIndex, r) { |
} |
// We should match only at 0 and 3. Going over the length should fail gracefully. |
- for (unsigned i = 0; i < 8; i++) { |
+ for (int i = 0; i < 8; i++) { |
if (i == 0 || i == 3) { |
REPORTER_ASSERT(r, pattern.match(&record, i) == i + 3); |
} else { |
@@ -99,7 +106,7 @@ DEF_TEST(RecordPattern_Complex, r) { |
SkRecord record; |
SkRecorder recorder(&record, 1920, 1200); |
- unsigned start, begin, end; |
+ int start, begin, end; |
start = record.count(); |
recorder.save(); |