X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FStandard%2FStandard_ReadLineBuffer.hxx;h=94ae850e4cde6f44b0cf5d0f37c9afe3a973fc41;hb=f6b4e578cddaaf497ef0079420dfd19c17508360;hpb=59515ca600bbaa9fdcf7e501bb60104ea54cf35f diff --git a/src/Standard/Standard_ReadLineBuffer.hxx b/src/Standard/Standard_ReadLineBuffer.hxx index 1029248d20..94ae850e4c 100644 --- a/src/Standard/Standard_ReadLineBuffer.hxx +++ b/src/Standard/Standard_ReadLineBuffer.hxx @@ -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(); }