patterns: Updated pattern language
This commit is contained in:
parent
a83ca3c228
commit
6d7f217e2a
2
lib/external/pattern_language
vendored
2
lib/external/pattern_language
vendored
@ -1 +1 @@
|
|||||||
Subproject commit 51e64e0e17fe1c7a767433af3ad88cbf9894c3a5
|
Subproject commit 0e983745f5b3669e884990b5c43fb8df2fda2c89
|
@ -238,7 +238,7 @@ namespace hex::plugin::builtin {
|
|||||||
std::exit(EXIT_FAILURE);
|
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") {
|
if (operation == "mime") {
|
||||||
auto result = magic::getMIMEType(data);
|
auto result = magic::getMIMEType(data);
|
||||||
|
Loading…
Reference in New Issue
Block a user