diff options
Diffstat (limited to 'src/gpu/GrProgramDesc.h')
-rw-r--r-- | src/gpu/GrProgramDesc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrProgramDesc.h b/src/gpu/GrProgramDesc.h index 5b339613c5..022bbc3d44 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; } |