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:
parent
62a71f9c24
commit
880979f32c
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user