warning fix

This commit is contained in:
Alan Hourihane 2001-08-29 16:44:46 +00:00
parent 73adb5e130
commit 905d2f4760

View file

@ -214,7 +214,8 @@ int DRM(freelist_put)(drm_device_t *dev, drm_freelist_t *bl, drm_buf_t *buf)
atomic_inc(&bl->count);
if (atomic_read(&bl->count) > dma->buf_count) {
DRM_ERROR("%ld of %d buffers free after addition of %d\n",
atomic_read(&bl->count), dma->buf_count, buf->idx);
(unsigned long)atomic_read(&bl->count),
dma->buf_count, buf->idx);
return 1;
}
/* Check for high water mark */