Mercurial > hg > orthanc
comparison 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 |
comparison
equal
deleted
inserted
replaced
2331:a47d07b5b39f | 2332:9ccd7f926c5b |
---|---|
68 file_.gcount() < 0) | 68 file_.gcount() < 0) |
69 { | 69 { |
70 throw OrthancException(ErrorCode_CorruptedFile); | 70 throw OrthancException(ErrorCode_CorruptedFile); |
71 } | 71 } |
72 | 72 |
73 chunkSize_ = file_.gcount(); | 73 chunkSize_ = static_cast<size_t>(file_.gcount()); |
74 | 74 |
75 return chunkSize_ > 0; | 75 return chunkSize_ > 0; |
76 } | 76 } |
77 } | 77 } |