From ae7dfa93be1c98f84d13cef9bd1e4d8652fccbdd Mon Sep 17 00:00:00 2001 From: ReinUsesLisp Date: Sun, 27 Oct 2019 02:23:34 -0300 Subject: [PATCH] shader/control_flow: Silence Intellisense cast warnings --- src/video_core/shader/control_flow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video_core/shader/control_flow.cpp b/src/video_core/shader/control_flow.cpp index 9c43aa6d6b..1896abc220 100644 --- a/src/video_core/shader/control_flow.cpp +++ b/src/video_core/shader/control_flow.cpp @@ -109,7 +109,7 @@ BlockInfo& CreateBlockInfo(CFGRebuildState& state, u32 start, u32 end) { } Pred GetPredicate(u32 index, bool negated) { - return static_cast(index + (negated ? 8 : 0)); + return static_cast(static_cast(index) + (negated ? 8ULL : 0ULL)); } /**