commit | 6853e808a464ca75ff1328338d1eb55ff27c4337 | [log] [tgz] |
---|---|---|
author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Apr 16 15:50:18 2012 +0000 |
committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Mon Apr 16 15:50:18 2012 +0000 |
tree | b87b0d4374b5fd4171fd8eefe4de1c85da65c53a | |
parent | 4f8975ea0fdd2127cc2c0611966204b36f1e75ce [diff] [blame] |
Addressed more Windows compiler complaint issues http://codereview.appspot.com/6007056/ git-svn-id: http://skia.googlecode.com/svn/trunk@3689 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gm/tablecolorfilter.cpp b/gm/tablecolorfilter.cpp index 7f0a623..6e2b943 100644 --- a/gm/tablecolorfilter.cpp +++ b/gm/tablecolorfilter.cpp
@@ -66,7 +66,7 @@ static void make_table2(uint8_t table[]) { for (int i = 0; i < 256; ++i) { float fi = i / 255.0f; - table[i] = sqrtf(fi) * 255; + table[i] = static_cast<uint8_t>(sqrtf(fi) * 255); } }