From 905d2f4760c53aa9acd54fa725db9a6598f723f2 Mon Sep 17 00:00:00 2001 From: Alan Hourihane Date: Wed, 29 Aug 2001 16:44:46 +0000 Subject: [PATCH] warning fix --- linux/drm_lists.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/linux/drm_lists.h b/linux/drm_lists.h index 7063482d..4b175a2b 100644 --- a/linux/drm_lists.h +++ b/linux/drm_lists.h @@ -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 */