0030855: Coding - New warnings within Standard_ReadLineBuffer after integration fix...
authorkgv <kgv@opencascade.com>
Sun, 28 Jul 2019 09:24:53 +0000 (12:24 +0300)
committerkgv <kgv@opencascade.com>
Sun, 28 Jul 2019 09:24:53 +0000 (12:24 +0300)
Added missing cast.

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();
   }