Skip to content

Commit

Permalink
Mix missing explicit type
Browse files Browse the repository at this point in the history
  • Loading branch information
romainthomas committed Feb 15, 2025
1 parent af3536f commit 2520288
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PE/Parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1288,7 +1288,7 @@ std::unique_ptr<SpanStream> Parser::stream_from_rva(uint32_t rva, size_t size) {
return std::make_unique<SpanStream>(nullptr, 0);
}

if (check_overflow((uint64_t)delta, size, content.size())) {
if (check_overflow<uint64_t>((uint64_t)delta, size, content.size())) {
return std::make_unique<SpanStream>(nullptr, 0);
}

Expand Down

0 comments on commit 2520288

Please sign in to comment.