diff options
author | 2023-12-05 16:59:10 +0900 | |
---|---|---|
committer | 2023-12-05 08:08:18 +0000 | |
commit | d90ebf37bac881823a701190afd871dbc7495624 (patch) | |
tree | 66bfee75fbf8cca7ddd5c82ad6c45039e625a598 /libs/gui/BufferQueue.cpp | |
parent | b51a073a2968fb60624f4e000d2f8729d85cf0b9 (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
Change-Id: I81868618064fbb189affb0f55c4e3ab94e78430b
Diffstat (limited to 'libs/gui/BufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions