commit | 3cfdf6c8b1f0c6ebe59ddd0d2750976c2dd1921d | [log] [tgz] |
---|---|---|
author | Jim Van Verth <jvanverth@google.com> | Wed Oct 26 09:45:23 2016 -0400 |
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Wed Oct 26 14:16:28 2016 +0000 |
tree | a9da426b3cf45907ce948eaef085ac0d0780473e | |
parent | f2361d2d93c200cd4555b5e8ecea4531801abaaa [diff] [blame] |
Fix some Windows warnings BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=3980 Change-Id: Icfc5dfb985b966c625d9bc81f61719ac5549085e Reviewed-on: https://skia-review.googlesource.com/3980 Reviewed-by: Matt Sarett <msarett@google.com> Commit-Queue: Jim Van Verth <jvanverth@google.com>
diff --git a/third_party/gif/SkGifImageReader.h b/third_party/gif/SkGifImageReader.h index 09c5622..45a1ce6 100644 --- a/third_party/gif/SkGifImageReader.h +++ b/third_party/gif/SkGifImageReader.h
@@ -110,7 +110,7 @@ bool prepareToDecode(); bool outputRow(const unsigned char* rowBegin); bool doLZW(const unsigned char* block, size_t bytesInBlock); - bool hasRemainingRows() { return rowsRemaining; } + bool hasRemainingRows() { return SkToBool(rowsRemaining); } private: // LZW decoding states and output states.