diff options
author | bsalomon <bsalomon@google.com> | 2014-12-12 16:41:46 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-12-12 16:41:46 -0800 |
commit | fbaace082745a0e301186b2d3b84af62e2fb87ec (patch) | |
tree | 27982934bbf0defcc05ee93bdae535cd2863b8ff /third_party | |
parent | f6139f7c3867a70a750620cd34ce10338a54086e (diff) |
DM warning-free on win64
Review URL: https://codereview.chromium.org/805543002
Diffstat (limited to 'third_party')
-rw-r--r-- | third_party/ktx/ktx.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/ktx/ktx.cpp b/third_party/ktx/ktx.cpp index 7cc2f28585..42b3ca119f 100644 --- a/third_party/ktx/ktx.cpp +++ b/third_party/ktx/ktx.cpp @@ -500,7 +500,7 @@ bool SkKTXFile::WriteBitmapToKTX(SkWStream* stream, const SkBitmap& bitmap) { size_t kvsize = kv->size(); kvsize += 4; kvsize = (kvsize + 3) & ~3; - hdr.fBytesOfKeyValueData += kvsize; + hdr.fBytesOfKeyValueData = SkToU32(hdr.fBytesOfKeyValueData + kvsize); } // Write the header |