aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrProgramDesc.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2014-12-11 13:31:06 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2014-12-11 13:31:06 -0800
commitccb328d52a58612b65677b9266a297dac795b0df (patch)
treeddf5212afe67e6c021b012af97c79d99004e8bb6 /src/gpu/GrProgramDesc.h
parente556089dd1a2ff52ba1b61211e66968c08a970ce (diff)
Fix some win64 warnings.
Diffstat (limited to 'src/gpu/GrProgramDesc.h')
-rw-r--r--src/gpu/GrProgramDesc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpu/GrProgramDesc.h b/src/gpu/GrProgramDesc.h
index 3d53842e43..5b339613c5 100644
--- a/src/gpu/GrProgramDesc.h
+++ b/src/gpu/GrProgramDesc.h
@@ -35,7 +35,7 @@ public:
uint32_t getChecksum() const { return *this->atOffset<uint32_t, kChecksumOffset>(); }
GrProgramDesc& operator= (const GrProgramDesc& other) {
- size_t keyLength = other.keyLength();
+ uint32_t keyLength = other.keyLength();
fKey.reset(keyLength);
memcpy(fKey.begin(), other.fKey.begin(), keyLength);
return *this;