diff options
| author | inspectredc <inspectredc@gmail.com> | 2024-12-31 00:23:31 +0000 |
|---|---|---|
| committer | Lywx <kiritodev01@gmail.com> | 2024-12-30 19:53:17 -0600 |
| commit | bdcdd4a4ea2f293be7c26bbca1ada91560182780 (patch) | |
| tree | 51db0a4a7a3fa72648c080163cc0525b3560b5ab /src | |
| parent | 29c64bc04cbf3636ec1b5dfed6d834fe0652c712 (diff) | |
Remove unnecessary casts
Diffstat (limited to 'src')
| -rw-r--r-- | src/preprocess/CompTool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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<uint32_t, uint32_t> 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<uint8_t> CompTool::Decompress(std::vector<uint8_t> rom){ |
