diff options
| author | Mike Lothian <mike@fireburn.co.uk> | 2025-08-28 18:31:20 +0100 |
|---|---|---|
| committer | Mike Lothian <mike@fireburn.co.uk> | 2025-09-02 14:21:55 +0100 |
| commit | b83c049b4c87381a8db32d11e3f1d96ffa17d112 (patch) | |
| tree | 81e5b2bdafa03d09398b725d97e6a972b385890d | |
| parent | a9cde6f7653843a1ea7e9118c87b735232600fad (diff) | |
kernel: Fix compilation with Clang 21
| -rw-r--r-- | src/core/hle/kernel/k_thread.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_thread.h b/src/core/hle/kernel/k_thread.h index e928cfebc..62762531a 100644 --- a/src/core/hle/kernel/k_thread.h +++ b/src/core/hle/kernel/k_thread.h @@ -539,7 +539,7 @@ public: } void ClearDpc(DpcFlag flag) { - this->GetStackParameters().dpc_flags &= ~static_cast<u8>(flag); + this->GetStackParameters().dpc_flags &= static_cast<u8>(~static_cast<u8>(flag)); } u8 GetDpc() const { |
