mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 07:47:03 -05:00
patterns: Updated pattern language
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user