0030855: Coding - New warnings within Standard_ReadLineBuffer after integration fix...
[occt.git] / src / Standard / Standard_ReadLineBuffer.hxx
index 1029248..94ae850 100644 (file)
@@ -172,7 +172,7 @@ protected:
                    size_t theLen,
                    size_t& theReadLen)
   {
-    theReadLen = theStream.read (myReadBuffer.data(), theLen).gcount();
+    theReadLen = (size_t )theStream.read (myReadBuffer.data(), theLen).gcount();
     return !theStream.bad();
   }