mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-26 00:21:13 +00:00
Fix a warning
This commit is contained in:
parent
673a4525f6
commit
4888000f32
4
posix.cc
4
posix.cc
@ -151,8 +151,8 @@ fmt::LongLong fmt::File::size() const {
|
|||||||
if (error != NO_ERROR)
|
if (error != NO_ERROR)
|
||||||
throw WindowsError(GetLastError(), "cannot get file size");
|
throw WindowsError(GetLastError(), "cannot get file size");
|
||||||
}
|
}
|
||||||
fmt::ULongLong size = size_upper;
|
fmt::ULongLong long_size = size_upper;
|
||||||
return (size << sizeof(DWORD) * CHAR_BIT) | size_lower;
|
return (long_size << sizeof(DWORD) * CHAR_BIT) | size_lower;
|
||||||
#else
|
#else
|
||||||
typedef struct stat Stat;
|
typedef struct stat Stat;
|
||||||
Stat file_stat = Stat();
|
Stat file_stat = Stat();
|
||||||
|
Loading…
Reference in New Issue
Block a user