From 54d3103b04cf1cdc41918986dc0daea33c8a06fc Mon Sep 17 00:00:00 2001 From: Philip Rebohle Date: Tue, 14 May 2019 14:48:42 +0200 Subject: [PATCH] [util] Fix COM reference count type On Windows, ref counts are only 32 bits wide. --- src/util/com/com_object.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/util/com/com_object.h b/src/util/com/com_object.h index 54304b0c..7f6ec256 100644 --- a/src/util/com/com_object.h +++ b/src/util/com/com_object.h @@ -58,8 +58,8 @@ namespace dxvk { private: - std::atomic m_refCount = { 0ul }; - std::atomic m_refPrivate = { 0ul }; + std::atomic m_refCount = { 0ul }; + std::atomic m_refPrivate = { 0ul }; };