Fix 64-bit truncate warning

BUG=chromium:910360

Change-Id: Ibd353d851626cca1b44bcfe38de5039a772bc6f0
Reviewed-on: https://skia-review.googlesource.com/c/178284
Auto-Submit: Herb Derby <herb@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
This commit is contained in:
Herb Derby 2018-12-17 17:37:28 -05:00 committed by Mike Klein
parent 62a71f9c24
commit 880979f32c

View File

@ -90,7 +90,7 @@ protected:
SkDebugf("domain: %d ", this->domain());
SkDebugf("size: %dB ", this->internalSize());
for (size_t i = 0; i < this->internalSize(); ++i) {
SkDebugf("%d ", fKey[i]);
SkDebugf("%d ", fKey[SkTo<int>(i)]);
}
SkDebugf("\n");
}