Mercurial > hg > orthanc
comparison OrthancServer/DicomProtocol/ReusableDicomUserConnection.h @ 876:e21d1a5f5934
fix msvc warnings
author | jodogne |
---|---|
date | Wed, 11 Jun 2014 14:08:42 +0200 |
parents | be87dd517416 |
children | 21ea32170764 |
comparison
equal
deleted
inserted
replaced
875:d21031a7a6e4 | 876:e21d1a5f5934 |
---|---|
88 | 88 |
89 virtual ~ReusableDicomUserConnection(); | 89 virtual ~ReusableDicomUserConnection(); |
90 | 90 |
91 unsigned int GetMillisecondsBeforeClose() const | 91 unsigned int GetMillisecondsBeforeClose() const |
92 { | 92 { |
93 return timeBeforeClose_.total_milliseconds(); | 93 return static_cast<unsigned int>(timeBeforeClose_.total_milliseconds()); |
94 } | 94 } |
95 | 95 |
96 void SetMillisecondsBeforeClose(unsigned int ms); | 96 void SetMillisecondsBeforeClose(unsigned int ms); |
97 | 97 |
98 const std::string& GetLocalApplicationEntityTitle() const; | 98 const std::string& GetLocalApplicationEntityTitle() const; |