commit | 38f6a09c7fe6a077365ed02a453ab074cf5e91e5 | [log] [tgz] |
---|---|---|
author | Yi Kong <yikong@google.com> | Tue Dec 05 16:59:10 2023 +0900 |
committer | Cherrypicker Worker <android-build-cherrypicker-worker@google.com> | Tue Dec 05 10:12:35 2023 +0000 |
tree | a7b0245fc35c66aa66029d3cfb1463ac9951e200 | |
parent | 5e8ef8a93aea20c440b90372bd928a4110479fb6 [diff] |
Fix -Wformat compiler warning error: format specifies type 'int' but the argument has type 'ui::Dataspace' [-Werror,-Wformat] 91 | LOG_ALWAYS_FATAL("%s isTextureValid:%d dataspace:%d" | ~~ 92 | "\n\tGrBackendTexture: (%i x %i) hasMipmaps: %i isProtected: %i texType: %i" 93 | "\n\t\tGrGLTextureInfo: success: %i fTarget: %u fFormat: %u colorType %i", 94 | msg, tex.isValid(), dataspace, tex.width(), tex.height(), tex.hasMipmaps(), | ^~~~~~~~~ | static_cast<int32_t>( ) Test: build with upstream Clang (cherry picked from https://googleplex-android-review.googlesource.com/q/commit:d90ebf37bac881823a701190afd871dbc7495624) Merged-In: I81868618064fbb189affb0f55c4e3ab94e78430b Change-Id: I81868618064fbb189affb0f55c4e3ab94e78430b