mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-24 09:31:34 +08:00
updated tests to vs 2015 and fix warning
This commit is contained in:
parent
3aef25c948
commit
34ef00c8bc
2
tests/logs/.gitignore
vendored
2
tests/logs/.gitignore
vendored
@ -1,2 +0,0 @@
|
||||
*.txt
|
||||
*.log
|
@ -26,7 +26,7 @@
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>true</UseDebugLibraries>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
|
||||
@ -38,7 +38,7 @@
|
||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
|
||||
<ConfigurationType>Application</ConfigurationType>
|
||||
<UseDebugLibraries>false</UseDebugLibraries>
|
||||
<PlatformToolset>v120</PlatformToolset>
|
||||
<PlatformToolset>v140</PlatformToolset>
|
||||
<WholeProgramOptimization>true</WholeProgramOptimization>
|
||||
<CharacterSet>MultiByte</CharacterSet>
|
||||
</PropertyGroup>
|
||||
|
@ -41,5 +41,5 @@ std::size_t get_filesize(const std::string& filename)
|
||||
if (!ifs)
|
||||
throw std::runtime_error("Failed open file ");
|
||||
|
||||
return ifs.tellg();
|
||||
return static_cast<std::size_t>(ifs.tellg());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user