From bdcdd4a4ea2f293be7c26bbca1ada91560182780 Mon Sep 17 00:00:00 2001 From: inspectredc Date: Tue, 31 Dec 2024 00:23:31 +0000 Subject: Remove unnecessary casts --- src/preprocess/CompTool.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/preprocess') diff --git a/src/preprocess/CompTool.cpp b/src/preprocess/CompTool.cpp index eff6600..bd7182e 100644 --- a/src/preprocess/CompTool.cpp +++ b/src/preprocess/CompTool.cpp @@ -52,7 +52,7 @@ std::pair CompTool::CalculateCRCs(LUS::BinaryWriter& decompF t1 += (t5 ^ d); } - return std::make_pair((uint32_t)(t6 ^ t4 ^ t3), (uint32_t)(t5 ^ t2 ^ t1)); + return std::make_pair(t6 ^ t4 ^ t3, t5 ^ t2 ^ t1); } std::vector CompTool::Decompress(std::vector rom){ -- cgit v1.2.3