summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Yi Kong <yikong@google.com> 2023-12-05 15:40:27 +0000
committer Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> 2023-12-05 15:40:27 +0000
commit9b6656c7fd1d8f5ef1d41165f1c8c8e857cd43f7 (patch)
treea7d0bbbe9e6e8039efd32a7dca585f0fbc69165c
parent83f8c6cde9650bde3c0808182194e77469df3695 (diff)
parent38f6a09c7fe6a077365ed02a453ab074cf5e91e5 (diff)
Fix -Wformat compiler warning am: 38f6a09c7f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/native/+/25556127 Change-Id: I9b14cb594c6d010fedade97ca1fd603ff3fb0f11 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
-rw-r--r--libs/renderengine/skia/AutoBackendTexture.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/renderengine/skia/AutoBackendTexture.cpp b/libs/renderengine/skia/AutoBackendTexture.cpp
index 23c99b0796..e8ad081e60 100644
--- a/libs/renderengine/skia/AutoBackendTexture.cpp
+++ b/libs/renderengine/skia/AutoBackendTexture.cpp
@@ -94,8 +94,8 @@ void logFatalTexture(const char* msg, const GrBackendTexture& tex, ui::Dataspace
"\n\tGrBackendTexture: (%i x %i) hasMipmaps: %i isProtected: %i "
"texType: %i\n\t\tGrGLTextureInfo: success: %i fTarget: %u fFormat: %u"
" colorType %i",
- msg, tex.isValid(), dataspace, tex.width(), tex.height(),
- tex.hasMipmaps(), tex.isProtected(),
+ msg, tex.isValid(), static_cast<int32_t>(dataspace), tex.width(),
+ tex.height(), tex.hasMipmaps(), tex.isProtected(),
static_cast<int>(tex.textureType()), retrievedTextureInfo,
textureInfo.fTarget, textureInfo.fFormat, colorType);
break;