intel: Silence compiler format warnings.

This commit is contained in:
Vinson Lee 2010-02-20 01:58:27 -08:00
parent 6cfdb61f73
commit b76164dced
2 changed files with 2 additions and 2 deletions

View File

@ -209,7 +209,7 @@ intel_batchbuffer_emit_reloc(struct intel_batchbuffer *batch,
int ret;
if (batch->ptr - batch->map > batch->buf->size)
printf ("bad relocation ptr %p map %p offset %d size %d\n",
printf ("bad relocation ptr %p map %p offset %d size %lu\n",
batch->ptr, batch->map, batch->ptr - batch->map, batch->buf->size);
ret = dri_bo_emit_reloc(batch->buf, read_domains, write_domain,
delta, batch->ptr - batch->map, buffer);

View File

@ -525,7 +525,7 @@ intel_render_texture(GLcontext * ctx,
return;
}
DBG("Begin render texture tid %x tex=%u w=%d h=%d refcount=%d\n",
DBG("Begin render texture tid %lx tex=%u w=%d h=%d refcount=%d\n",
_glthread_GetID(),
att->Texture->Name, newImage->Width, newImage->Height,
irb->Base.RefCount);