summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_priority_queue.h
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2022-01-29 00:30:29 +0100
committerGitHub <noreply@github.com>2022-01-29 00:30:29 +0100
commit60b56705775988627ccd250c9cd067754213fd1f (patch)
tree737a1904d4b972c3cef7443b944427ccdbfa03f7 /src/core/hle/kernel/k_priority_queue.h
parentMerge pull request #7788 from ameerj/stream-buffer-begin (diff)
parenthle: kernel: KScheduler: Fix deadlock with core waiting for a thread lock that has migrated. (diff)
downloadyuzu-60b56705775988627ccd250c9cd067754213fd1f.tar
yuzu-60b56705775988627ccd250c9cd067754213fd1f.tar.gz
yuzu-60b56705775988627ccd250c9cd067754213fd1f.tar.bz2
yuzu-60b56705775988627ccd250c9cd067754213fd1f.tar.lz
yuzu-60b56705775988627ccd250c9cd067754213fd1f.tar.xz
yuzu-60b56705775988627ccd250c9cd067754213fd1f.tar.zst
yuzu-60b56705775988627ccd250c9cd067754213fd1f.zip
Diffstat (limited to 'src/core/hle/kernel/k_priority_queue.h')
-rw-r--r--src/core/hle/kernel/k_priority_queue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_priority_queue.h b/src/core/hle/kernel/k_priority_queue.h
index 0b894c8cf..bd779739d 100644
--- a/src/core/hle/kernel/k_priority_queue.h
+++ b/src/core/hle/kernel/k_priority_queue.h
@@ -258,7 +258,7 @@ private:
private:
constexpr void ClearAffinityBit(u64& affinity, s32 core) {
- affinity &= ~(u64(1) << core);
+ affinity &= ~(UINT64_C(1) << core);
}
constexpr s32 GetNextCore(u64& affinity) {