diff options
author | 2013-08-14 11:36:27 +0000 | |
---|---|---|
committer | 2013-08-14 11:36:27 +0000 | |
commit | 2dc8b96230c99cd460c02fdb69b036905d072216 (patch) | |
tree | 30ef261a9e183a0b647ccba52b6612f436e26ae2 /src/animator/SkScriptTokenizer.cpp | |
parent | 9677a84b4055ab084b2aae6adeab31ab1c7a95b7 (diff) |
Fix build with SK_SUPPORT_UNITTEST on
Fix build with SK_SUPPORT_UNITTEST on. Parenthesis with && and || is
fixed similarly to r1386.
BUG=skia:1493
R=scroggo@google.com
Author: kkinnunen@nvidia.com
Review URL: https://chromiumcodereview.appspot.com/22732004
git-svn-id: http://skia.googlecode.com/svn/trunk@10704 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/animator/SkScriptTokenizer.cpp')
-rw-r--r-- | src/animator/SkScriptTokenizer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/animator/SkScriptTokenizer.cpp b/src/animator/SkScriptTokenizer.cpp index f789d388a7..42954a7706 100644 --- a/src/animator/SkScriptTokenizer.cpp +++ b/src/animator/SkScriptTokenizer.cpp @@ -1479,7 +1479,7 @@ static const SkScriptNAnswer2 scriptTests[] = { void SkScriptEngine2::UnitTest() { #if defined(SK_SUPPORT_UNITTEST) ValidateDecompileTable(); - for (int index = 0; index < SkScriptNAnswer_testCount; index++) { + for (size_t index = 0; index < SkScriptNAnswer_testCount; index++) { SkScriptEngine2 engine(scriptTests[index].fType); SkScriptValue2 value; const char* script = scriptTests[index].fScript; |