From 499a82d3fde6a1ef241790c79bd7eabf1538bc10 Mon Sep 17 00:00:00 2001 From: Collecting Date: Fri, 26 Dec 2025 22:45:59 +0000 Subject: [PATCH] fix: Strict Clang Rule Signed-off-by: Collecting --- src/core/hle/kernel/k_thread.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/hle/kernel/k_thread.h b/src/core/hle/kernel/k_thread.h index e928cfebc..32cf4370c 100644 --- a/src/core/hle/kernel/k_thread.h +++ b/src/core/hle/kernel/k_thread.h @@ -1,4 +1,5 @@ // SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project +// SPDX-FileCopyrightText: 2025 citron Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later #pragma once @@ -539,7 +540,7 @@ public: } void ClearDpc(DpcFlag flag) { - this->GetStackParameters().dpc_flags &= ~static_cast(flag); + this->GetStackParameters().dpc_flags &= static_cast(~static_cast(flag)); } u8 GetDpc() const {