gfxstream: simple compile fix

Fixes:

hardware/google/gfxstream/guest/OpenglSystemCommon/HostConnection.h:32:
external/mesa3d/src/gfxstream/guest/platform/include/VirtGpu.h:132:40:
    error: implicit conversion changes signedness: 'unsigned int' to
           'const int32_t' (aka 'const int') [-Werror,-Wsign-conversion]

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40492>
This commit is contained in:
Gurchetan Singh 2026-03-18 09:05:52 -07:00 committed by Marge Bot
parent 16e15ee205
commit 32bd3a6e4e

View file

@ -129,7 +129,7 @@ struct VirtGpuPciBusInfo {
uint8_t function;
};
constexpr int32_t INVALID_DESCRIPTOR = 0xFFFFFFFF;
constexpr int32_t INVALID_DESCRIPTOR = -1;
class VirtGpuResourceMapping;
class VirtGpuResource;