| commit | a4662865e37a2ca95b5e3379072f6a274acc8ac8 | [log] [tgz] |
|---|---|---|
| author | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Nov 21 14:24:16 2013 +0000 |
| committer | robertphillips@google.com <robertphillips@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | Thu Nov 21 14:24:16 2013 +0000 |
| tree | dd09a0539c780850e5897df268dfca073e9f2d32 | |
| parent | bcd431e1778001990c4d877929b14959dc96a0d3 [diff] [blame] |
More Windows 64b compilation warning fixes https://codereview.chromium.org/47513017/ git-svn-id: http://skia.googlecode.com/svn/trunk@12337 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/src/gpu/gl/GrGLProgramDesc.cpp b/src/gpu/gl/GrGLProgramDesc.cpp index d958742..e655210 100644 --- a/src/gpu/gl/GrGLProgramDesc.cpp +++ b/src/gpu/gl/GrGLProgramDesc.cpp
@@ -105,7 +105,7 @@ memset(desc->header(), 0, kHeaderSize); } // write the key length - *desc->atOffset<uint32_t, kLengthOffset>() = newKeyLength; + *desc->atOffset<uint32_t, kLengthOffset>() = SkToU32(newKeyLength); KeyHeader* header = desc->header(); EffectKey* effectKeys = desc->effectKeys();