[PATCH 0/1] MR8771: winebus.sys: Use uint16_t instead of __u16
This addresses a regression introduced by commit e603bbf69c7 where we'd get dlls/winebus.sys/bus_udev.c: In function ‘lnxev_device_haptics_thread’: dlls/winebus.sys/bus_udev.c:711:36: error: ‘__u16’ undeclared on FreeBSD 13. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8771
From: Gerald Pfeifer <gerald(a)pfeifer.com> This addresses a regression introduced by commit e603bbf69c7 where we'd get dlls/winebus.sys/bus_udev.c: In function ‘lnxev_device_haptics_thread’: dlls/winebus.sys/bus_udev.c:711:36: error: ‘__u16’ undeclared on FreeBSD 13. --- dlls/winebus.sys/bus_udev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winebus.sys/bus_udev.c b/dlls/winebus.sys/bus_udev.c index 4f929d0cb45..f9c093a7460 100644 --- a/dlls/winebus.sys/bus_udev.c +++ b/dlls/winebus.sys/bus_udev.c @@ -708,7 +708,7 @@ static void *lnxev_device_haptics_thread(void *args) { while (!memcmp(&effect, &impl->haptics, sizeof(effect))) pthread_cond_wait(&impl->haptics_cond, &udev_cs); - if (impl->haptics.type == (__u16)-1) break; + if (impl->haptics.type == (uint16_t)-1) break; effect = impl->haptics; pthread_mutex_unlock(&udev_cs); -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/8771
This merge request was approved by Rémi Bernon. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/8771
participants (3)
-
Gerald Pfeifer -
Gerald Pfeifer (@gerald) -
Rémi Bernon