mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 02:58:05 +02:00
egl: cast printf argument to the expected type
Reported by static analysis. Reviewed-by: Marek Olšák <marek.olsak@amd.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35877>
This commit is contained in:
parent
1aaf1f858e
commit
62657471c8
1 changed files with 1 additions and 1 deletions
|
|
@ -129,7 +129,7 @@ _eglPrintConfig(_EGLConfig *const conf, const int chosenIndex)
|
|||
|
||||
/* If one of chosen configs, print its index in the returned config array */
|
||||
if (chosenIndex >= 0)
|
||||
_strnAppend(printMsg, sizeof(printMsg), "%*d ", strlen(padding),
|
||||
_strnAppend(printMsg, sizeof(printMsg), "%*d ", (int)strlen(padding),
|
||||
chosenIndex);
|
||||
else
|
||||
_strnAppend(printMsg, sizeof(printMsg), "%s ", &padding[0]);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue