From bb17ad3f0877c7dc490770d73daae02e357598eb Mon Sep 17 00:00:00 2001 From: Gurchetan Singh Date: Mon, 5 Jan 2026 08:10:26 -0800 Subject: [PATCH] gfxstream: fix warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: DrmVirtGpuBlob.cpp:46:21: warning: comparison of integer expressions of different signedness: ‘uint32_t’ {aka ‘unsigned int’} and ‘int’ [-Wsign-compare] Reviewed-by: Aaron Ruby Part-of: --- src/gfxstream/guest/platform/include/VirtGpu.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gfxstream/guest/platform/include/VirtGpu.h b/src/gfxstream/guest/platform/include/VirtGpu.h index cd680b1373c..528665e0ac1 100644 --- a/src/gfxstream/guest/platform/include/VirtGpu.h +++ b/src/gfxstream/guest/platform/include/VirtGpu.h @@ -129,7 +129,7 @@ struct VirtGpuPciBusInfo { uint8_t function; }; -#define INVALID_DESCRIPTOR -1 +#define INVALID_DESCRIPTOR 0xFFFFFFFFU class VirtGpuResourceMapping; class VirtGpuResource;