diff options
Diffstat (limited to 'docs/examples/Bitmap_computeByteSize.cpp')
-rw-r--r-- | docs/examples/Bitmap_computeByteSize.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/examples/Bitmap_computeByteSize.cpp b/docs/examples/Bitmap_computeByteSize.cpp index a43ffddb34..891396e144 100644 --- a/docs/examples/Bitmap_computeByteSize.cpp +++ b/docs/examples/Bitmap_computeByteSize.cpp @@ -9,7 +9,7 @@ void draw(SkCanvas* canvas) { for (int height: { 1, 1000, 1000000 } ) { SkImageInfo imageInfo = SkImageInfo::MakeN32(width, height, kPremul_SkAlphaType); bitmap.setInfo(imageInfo, width * 5); - SkDebugf("width: %7d height: %7d computeByteSize: %13lld\n", width, height, + SkDebugf("width: %7d height: %7d computeByteSize: %13zu\n", width, height, bitmap.computeByteSize()); } } |