From f9cf87274563aa9b3e4c8326f9045fc86ba40656 Mon Sep 17 00:00:00 2001 From: Faith Ekstrand Date: Thu, 24 Aug 2023 11:56:35 -0500 Subject: [PATCH] nouveau/mme: Fix a compile warning Part-of: --- src/nouveau/mme/tests/mme_runner.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nouveau/mme/tests/mme_runner.cpp b/src/nouveau/mme/tests/mme_runner.cpp index 80e40d0..8dc9926 100644 --- a/src/nouveau/mme/tests/mme_runner.cpp +++ b/src/nouveau/mme/tests/mme_runner.cpp @@ -142,7 +142,7 @@ mme_hw_runner::submit_push() #if NVK_NEW_UAPI == 1 struct drm_nouveau_exec_push push = { .va = push_bo->offset, - .va_len = nv_push_dw_count(&this->push) * 4, + .va_len = (uint32_t)nv_push_dw_count(&this->push) * 4, }; struct drm_nouveau_sync sync = { -- 2.7.4