diff Core/HttpServer/FilesystemHttpSender.cpp @ 2332:9ccd7f926c5b

fix warnings in visual studio
author jodogne
date Sat, 15 Jul 2017 10:59:42 +0200
parents a3a65de1840f
children 878b59270859
line wrap: on
line diff
--- a/Core/HttpServer/FilesystemHttpSender.cpp	Fri Jul 14 17:29:18 2017 +0200
+++ b/Core/HttpServer/FilesystemHttpSender.cpp	Sat Jul 15 10:59:42 2017 +0200
@@ -70,7 +70,7 @@
       throw OrthancException(ErrorCode_CorruptedFile);
     }
 
-    chunkSize_ = file_.gcount();
+    chunkSize_ = static_cast<size_t>(file_.gcount());
 
     return chunkSize_ > 0;
   }