windows/windDebug.c: Wrong type of arguments to formatting function
Fix code scanning alert no. 129: Wrong type of arguments to formatting function (#24) * Update windDebug.c * AI wanted "%p", DLM changed to (intmax_t) "%lx" --------- Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
This commit is contained in:
parent
cf90d50999
commit
fdc81f5eec
|
|
@ -21,6 +21,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header$";
|
||||||
#endif /* not lint */
|
#endif /* not lint */
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
#include <stdint.h>
|
||||||
|
|
||||||
#include "utils/magic.h"
|
#include "utils/magic.h"
|
||||||
#include "utils/geometry.h"
|
#include "utils/geometry.h"
|
||||||
|
|
@ -106,9 +107,9 @@ windDump()
|
||||||
for (rc = windFirstClientRec; rc != (clientRec * ) NULL;
|
for (rc = windFirstClientRec; rc != (clientRec * ) NULL;
|
||||||
rc = rc->w_nextClient)
|
rc = rc->w_nextClient)
|
||||||
{
|
{
|
||||||
TxPrintf("'%10s' %x %x %x %x\n", rc->w_clientName,
|
TxPrintf("'%10s' %lx %lx %lx %lx\n", rc->w_clientName,
|
||||||
rc->w_create, rc->w_delete,
|
(intmax_t) rc->w_create, (intmax_t) rc->w_delete,
|
||||||
rc->w_redisplay, rc->w_command);
|
(intmax_t) rc->w_redisplay, (intmax_t) rc->w_command);
|
||||||
}
|
}
|
||||||
|
|
||||||
TxPrintf("\n");
|
TxPrintf("\n");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue