vulkan/wsi: Convert usage of -1 to UINT32_MAX.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Mon, 27 Jul 2020 09:52:24 +0000 (11:52 +0200)
committerMarge Bot <eric+marge@anholt.net>
Mon, 27 Jul 2020 11:30:22 +0000 (11:30 +0000)
commit7cb4d4f24ecbe57af14274f3d8f3a5933fb9d907
tree16901fb0688ddfbf0657b3b937b8e9a181408ec1
parente1147caecb2b8f1e4783a0e12ffb7d610bd2a6d8
vulkan/wsi: Convert usage of -1 to UINT32_MAX.

The integers are unsigned so they do the same but this makes it
locally more clear what happened.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6071>
src/vulkan/wsi/wsi_common_wayland.c
src/vulkan/wsi/wsi_common_x11.c