diff --git a/windows/windDebug.c b/windows/windDebug.c index a4cd11a8..d6c1844a 100644 --- a/windows/windDebug.c +++ b/windows/windDebug.c @@ -21,6 +21,7 @@ static char rcsid[] __attribute__ ((unused)) = "$Header$"; #endif /* not lint */ #include +#include #include "utils/magic.h" #include "utils/geometry.h" @@ -106,9 +107,9 @@ windDump() for (rc = windFirstClientRec; rc != (clientRec * ) NULL; rc = rc->w_nextClient) { - TxPrintf("'%10s' %x %x %x %x\n", rc->w_clientName, - rc->w_create, rc->w_delete, - rc->w_redisplay, rc->w_command); + TxPrintf("'%10s' %lx %lx %lx %lx\n", rc->w_clientName, + (intmax_t) rc->w_create, (intmax_t) rc->w_delete, + (intmax_t) rc->w_redisplay, (intmax_t) rc->w_command); } TxPrintf("\n");