mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-24 17:51:47 +08:00
4ebdbe7e88
* [2fd] Initial port of 3FD project * [3fd] Fix 2017 builds. Enable static builds in dynamic triplets. Improve vcpkg_build_msbuild().
14 lines
630 B
Diff
14 lines
630 B
Diff
diff --git a/3fd/web_wws_impl_host.cpp b/3fd/web_wws_impl_host.cpp
|
|
index b87dc75..1cff45f 100644
|
|
--- a/3fd/web_wws_impl_host.cpp
|
|
+++ b/3fd/web_wws_impl_host.cpp
|
|
@@ -48,7 +48,7 @@ namespace wws
|
|
throw AppException<std::runtime_error>(oss.str());
|
|
}
|
|
|
|
- const auto fileSizeBytes = inputStream.seekg(0, std::ios::end).tellg().seekpos(); // move cursor to the end to get the zize
|
|
+ const auto fileSizeBytes = inputStream.seekg(0, std::ios::end).tellg(); // move cursor to the end to get the zize
|
|
|
|
// File is not trunked:
|
|
if (fileSizeBytes > 0)
|