Skip to content

Commit

Permalink
patterns: Updated pattern language
Browse files Browse the repository at this point in the history
  • Loading branch information
WerWolv committed Jul 17, 2023
1 parent a83ca3c commit 6d7f217
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/external/pattern_language
2 changes: 1 addition & 1 deletion plugins/builtin/source/content/command_line_interface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ namespace hex::plugin::builtin {
std::exit(EXIT_FAILURE);
}

auto data = file.readVector(std::min(file.getSize(), 100_KiB));
auto data = file.readVector(std::min<size_t>(file.getSize(), 100_KiB));

if (operation == "mime") {
auto result = magic::getMIMEType(data);
Expand Down

0 comments on commit 6d7f217

Please sign in to comment.