Index: src/gpu/GrProgramDesc.h |
diff --git a/src/gpu/GrProgramDesc.h b/src/gpu/GrProgramDesc.h |
index 15734f642db865f01544cb7701a7abc8f6dc976e..c9812479ea8086084974b3f877524bedbb562719 100644 |
--- a/src/gpu/GrProgramDesc.h |
+++ b/src/gpu/GrProgramDesc.h |
@@ -36,7 +36,7 @@ public: |
GrProgramDesc& operator= (const GrProgramDesc& other) { |
uint32_t keyLength = other.keyLength(); |
- fKey.reset(keyLength); |
+ fKey.reset(SkToInt(keyLength)); |
memcpy(fKey.begin(), other.fKey.begin(), keyLength); |
return *this; |
} |