Eric Pouech : wined3d: Use long type for interlock variables/fields.
Module: wine Branch: master Commit: 767a715d47fdfae53c98cdcd267895031cbefece URL: https://gitlab.winehq.org/wine/wine/-/commit/767a715d47fdfae53c98cdcd2678950... Author: Eric Pouech <eric.pouech(a)gmail.com> Date: Tue Nov 22 11:08:49 2022 +0100 wined3d: Use long type for interlock variables/fields. Signed-off-by: Eric Pouech <eric.pouech(a)gmail.com> --- dlls/wined3d/wined3d_private.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dlls/wined3d/wined3d_private.h b/dlls/wined3d/wined3d_private.h index b7d3b579ed2..c460a6b1f8c 100644 --- a/dlls/wined3d/wined3d_private.h +++ b/dlls/wined3d/wined3d_private.h @@ -4433,8 +4433,8 @@ struct wined3d_resource struct list resource_list_entry; - int32_t srv_bind_count_device; - int32_t rtv_bind_count_device; + LONG srv_bind_count_device; + LONG rtv_bind_count_device; }; static inline ULONG wined3d_resource_incref(struct wined3d_resource *resource) @@ -5092,7 +5092,7 @@ struct wined3d_cs BOOL queries_flushed; HANDLE event; - BOOL waiting_for_event; + LONG waiting_for_event; LONG pending_presents; };
participants (1)
-
Alexandre Julliard