1
0
mirror of synced 2024-11-28 17:40:51 +01:00

patterns: Updated pattern language

This commit is contained in:
WerWolv 2023-07-17 11:20:17 +02:00
parent a83ca3c228
commit 6d7f217e2a
2 changed files with 2 additions and 2 deletions

@ -1 +1 @@
Subproject commit 51e64e0e17fe1c7a767433af3ad88cbf9894c3a5
Subproject commit 0e983745f5b3669e884990b5c43fb8df2fda2c89

View File

@ -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);