From e7b8b59156e1329f066a0dcf3053ce1356f3980d Mon Sep 17 00:00:00 2001 From: Jerry Date: Sun, 16 Jul 2023 10:50:07 +0800 Subject: [PATCH] fix warning --- drm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drm.c b/drm.c index 8ddb63f..e1722e2 100644 --- a/drm.c +++ b/drm.c @@ -396,7 +396,7 @@ int drm_dump_cursor_plane(char **data, int *width, int *height) { size_t mmap_size = open_arg.size; if (mmap_size != drm->cursor_mfb->width * drm->cursor_mfb->height * BYTES_PER_PIXEL) { - KMSVNC_DEBUG("Cursor plane mmap_size != calculated size (%d, %d)\n", mmap_size, drm->cursor_mfb->width * drm->cursor_mfb->height * BYTES_PER_PIXEL); + KMSVNC_DEBUG("Cursor plane mmap_size != calculated size (%ld, %d)\n", mmap_size, drm->cursor_mfb->width * drm->cursor_mfb->height * BYTES_PER_PIXEL); return 1; }