The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

d/pssense: Replace uint with uint32_t in pssense_driver.c

The type "uint" doesn't seem to exist on some platforms at least
(for example alpine linux), and it's only used in a single file,
so it seems like a good idea to change the two uses to "uint32_t".

Closes #258

authored by

Mis012 and committed by
Jakob Bornecrantz
19f87ba2 5e0f0866

+1 -1
+1 -1
src/xrt/drivers/pssense/pssense_driver.c
··· 413 413 // Lock the data. 414 414 os_mutex_lock(&pssense->lock); 415 415 416 - for (uint i = 0; i < (uint)sizeof(enum pssense_input_index); i++) { 416 + for (uint32_t i = 0; i < (uint32_t)sizeof(enum pssense_input_index); i++) { 417 417 pssense->base.inputs[i].timestamp = (int64_t)pssense->state.timestamp_ns; 418 418 } 419 419 pssense->base.inputs[PSSENSE_INDEX_PS_CLICK].value.boolean = pssense->state.ps_click;