sna: Clean up some debug messages for 64bit

Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2011-10-19 20:20:55 +01:00
parent f4346e5d25
commit fc224e2f8c
2 changed files with 6 additions and 5 deletions

View File

@ -630,7 +630,7 @@ sna_dri_frame_event_drawable_gone(void *data, XID id)
drawable_resource);
DBG(("%s: marking drawable gone [%p]: %ld\n",
__FUNCTION__, info, info->drawable_id));
__FUNCTION__, info, (long)info->drawable_id));
list_del(&info->drawable_resource);
info->drawable_id = None;
@ -696,7 +696,7 @@ sna_dri_add_frame_event(struct sna_dri_frame_event *info)
list_add(&info->drawable_resource, resource);
DBG(("%s: add[%p] (%p, %ld)\n", __FUNCTION__,
info, info->client, info->drawable_id));
info, info->client, (long)info->drawable_id));
return TRUE;
}
@ -705,7 +705,7 @@ static void
sna_dri_frame_event_info_free(struct sna_dri_frame_event *info)
{
DBG(("%s: del[%p] (%p, %ld)\n", __FUNCTION__,
info, info->client, info->drawable_id));
info, info->client, (long)info->drawable_id));
list_del(&info->client_resource);
list_del(&info->drawable_resource);

View File

@ -973,8 +973,9 @@ glyphs_fallback(CARD8 op,
region.extents.y2 - region.extents.y1,
dst->pDrawable->x, dst->pDrawable->y,
x, y,
mask_format->depth, mask_format->format,
mask_format->depth << 24 | mask_format->format,
mask_format->depth,
(long)mask_format->format,
(long)(mask_format->depth << 24 | mask_format->format),
NeedsComponent(mask_format->format)));
mask_image =
pixman_image_create_bits(mask_format->depth << 24 | mask_format->format,