Huw Davies : winemac: Fix LONG vs int mismatch.
Module: wine Branch: master Commit: 650b9b0179b278d9fbf317765bdc67c8c98a77ca URL: https://gitlab.winehq.org/wine/wine/-/commit/650b9b0179b278d9fbf317765bdc67c... Author: Huw Davies <huw(a)codeweavers.com> Date: Mon Dec 12 13:34:11 2022 +0000 winemac: Fix LONG vs int mismatch. --- dlls/winemac.drv/keyboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winemac.drv/keyboard.c b/dlls/winemac.drv/keyboard.c index b43ea0b5dc7..1592bcad1a2 100644 --- a/dlls/winemac.drv/keyboard.c +++ b/dlls/winemac.drv/keyboard.c @@ -594,7 +594,7 @@ static void update_layout_list(void) struct layout *layout; int i; - if (!InterlockedExchange(&macdrv_layout_list_needs_update, FALSE)) return; + if (!InterlockedExchange((LONG *)&macdrv_layout_list_needs_update, FALSE)) return; sources = macdrv_create_input_source_list();
participants (1)
-
Alexandre Julliard