case X_DamageCreate:
{
xDamageCreateReq *stuff = (xDamageCreateReq *)req;
- REPLY (": XID(0x%lx) Drawable(0x%lx)",
- stuff->damage,
- stuff->drawable);
+ REPLY (": XID(0x%x) Drawable(0x%x)",
+ (unsigned int)stuff->damage,
+ (unsigned int)stuff->drawable);
if (detail_level >= EVLOG_PRINT_DETAIL)
{
case X_DamageDestroy:
{
xDamageDestroyReq *stuff = (xDamageDestroyReq *)req;
- REPLY (": XID(0x%lx)",
- stuff->damage);
+ REPLY (": XID(0x%x)",
+ (unsigned int)stuff->damage);
return reply;
}
case XDamageNotify:
{
xDamageNotifyEvent *stuff = (xDamageNotifyEvent*)evt;
- REPLY (": XID(0x%lx) Damage(0x%lx) area(%d,%d %dx%d) geo(%d,%d %dx%d)",
- stuff->drawable,
- stuff->damage,
+ REPLY (": XID(0x%x) Damage(0x%x) area(%d,%d %dx%d) geo(%d,%d %dx%d)",
+ (unsigned int)stuff->drawable,
+ (unsigned int)stuff->damage,
stuff->area.x,
stuff->area.y,
stuff->area.width,
REPLY ("\n");
REPLY ("%67s time(%lums) level(%d) sequence_num(%d)",
" ",
- stuff->timestamp,
+ (unsigned long)stuff->timestamp,
stuff->level,
stuff->sequenceNumber);
}