From 4888000f32a2aa55ae9a3c8f0e06c6490c111248 Mon Sep 17 00:00:00 2001 From: vitaut Date: Thu, 7 May 2015 07:19:28 -0700 Subject: [PATCH] Fix a warning --- posix.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/posix.cc b/posix.cc index 0efb5aff..4d0d22fa 100644 --- a/posix.cc +++ b/posix.cc @@ -151,8 +151,8 @@ fmt::LongLong fmt::File::size() const { if (error != NO_ERROR) throw WindowsError(GetLastError(), "cannot get file size"); } - fmt::ULongLong size = size_upper; - return (size << sizeof(DWORD) * CHAR_BIT) | size_lower; + fmt::ULongLong long_size = size_upper; + return (long_size << sizeof(DWORD) * CHAR_BIT) | size_lower; #else typedef struct stat Stat; Stat file_stat = Stat();