diff OrthancServer/DicomProtocol/ReusableDicomUserConnection.h @ 876:e21d1a5f5934

fix msvc warnings
author jodogne
date Wed, 11 Jun 2014 14:08:42 +0200
parents be87dd517416
children 21ea32170764
line wrap: on
line diff
--- a/OrthancServer/DicomProtocol/ReusableDicomUserConnection.h	Wed Jun 11 13:23:05 2014 +0200
+++ b/OrthancServer/DicomProtocol/ReusableDicomUserConnection.h	Wed Jun 11 14:08:42 2014 +0200
@@ -90,7 +90,7 @@
 
     unsigned int GetMillisecondsBeforeClose() const
     {
-      return timeBeforeClose_.total_milliseconds();
+      return static_cast<unsigned int>(timeBeforeClose_.total_milliseconds());
     }
 
     void SetMillisecondsBeforeClose(unsigned int ms);