summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Lothian <mike@fireburn.co.uk>2025-08-28 18:31:20 +0100
committerMike Lothian <mike@fireburn.co.uk>2025-09-02 14:21:55 +0100
commitb83c049b4c87381a8db32d11e3f1d96ffa17d112 (patch)
tree81e5b2bdafa03d09398b725d97e6a972b385890d
parenta9cde6f7653843a1ea7e9118c87b735232600fad (diff)
kernel: Fix compilation with Clang 21
-rw-r--r--src/core/hle/kernel/k_thread.h2
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 {