diff options
author | bsalomon <bsalomon@google.com> | 2014-12-11 13:31:06 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-11 13:31:06 -0800 |
commit | ccb328d52a58612b65677b9266a297dac795b0df (patch) | |
tree | ddf5212afe67e6c021b012af97c79d99004e8bb6 /src/gpu/GrProgramDesc.h | |
parent | e556089dd1a2ff52ba1b61211e66968c08a970ce (diff) |
Fix some win64 warnings.
Review URL: https://codereview.chromium.org/795223002
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 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; |