ipc: fix warning introduced in !2252

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2328>
This commit is contained in:
Simon Zeni 2024-09-23 09:54:21 -04:00
parent 08f3965ad0
commit 21729323f3

View file

@ -73,7 +73,7 @@ common_shutdown(volatile struct ipc_client_state *ics)
}
if (ics->local_floor_space_overseer_index < IPC_MAX_CLIENT_SPACES && //
ics->local_floor_space_overseer_index >= 0) {
ics->local_floor_space_overseer_index > 0) {
xrt_space_reference(
(struct xrt_space **)&ics->server->xso->localfloorspace[ics->local_floor_space_overseer_index],
NULL);