replace typedef'ed type uintmax_t by its long form unsigned long long

It seems this type is not yet available in MSVC9, only in later versions.

Conflicts:

	src/filesystem_boost.cpp
This commit is contained in:
anonymissimus 2014-11-30 16:48:37 +01:00
parent 99b6c428d8
commit 0f887872a7

View file

@ -352,7 +352,7 @@ void get_files_in_dir(const std::string &dir,
checksum->modified = mtime;
}
uintmax_t size = bfs::file_size(di->path(), ec);
unsigned long long size = bfs::file_size(di->path(), ec);
if (ec) {
ERR_FS << "Failed to read filesize of " << di->path().string() << ": " << ec.message() << '\n';
} else {
@ -842,7 +842,7 @@ bool is_bzip2_file(const std::string& filename)
int file_size(const std::string& fname)
{
error_code ec;
uintmax_t size = bfs::file_size(path(fname), ec);
unsigned long long size = bfs::file_size(path(fname), ec);
if (ec) {
ERR_FS << "Failed to read filesize of " << fname << ": " << ec.message() << '\n';
return -1;