commit 3e7a34e9526eee3f2eea855063a7d72ee955b7d1 Author: Ahmed Siam Date: Mon Jun 5 13:25:05 2023 +0300 use streamsize instead of size_t diff --git a/src/i18n.cpp b/src/i18n.cpp index 716f161..d75c175 100644 --- a/src/i18n.cpp +++ b/src/i18n.cpp @@ -22,7 +22,7 @@ I18n::I18n(const char *locales_path) : resource("", "", status) exit(EXIT_FAILURE); } - size_t file_size = std::filesystem::file_size(std::filesystem::path{locales_path}); + std::streamsize file_size = std::filesystem::file_size(std::filesystem::path{locales_path}); auto locales_data = std::make_unique(file_size);