CMake: gathered all build flags in a dedicated file

This commit is contained in:
Benoit Blanchon
2020-04-28 09:32:50 +02:00
parent 959b1d9e4c
commit 8050f7404b
4 changed files with 102 additions and 104 deletions

View File

@ -21,7 +21,7 @@ std::vector<uint8_t> read(const char* path) {
}
fseek(f, 0, SEEK_END);
size_t size = ftell(f);
size_t size = static_cast<size_t>(ftell(f));
fseek(f, 0, SEEK_SET);
std::vector<uint8_t> buffer(size);