projects
/
occt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
59515ca
)
0030855: Coding - New warnings within Standard_ReadLineBuffer after integration fix...
author
kgv
<kgv@opencascade.com>
Sun, 28 Jul 2019 09:24:53 +0000
(12:24 +0300)
committer
kgv
<kgv@opencascade.com>
Sun, 28 Jul 2019 09:24:53 +0000
(12:24 +0300)
Added missing cast.
src/Standard/Standard_ReadLineBuffer.hxx
patch
|
blob
|
blame
|
history
diff --git
a/src/Standard/Standard_ReadLineBuffer.hxx
b/src/Standard/Standard_ReadLineBuffer.hxx
index 1029248d20ffff6a1707941b7ea60ea0990390c9..94ae850e4cde6f44b0cf5d0f37c9afe3a973fc41 100644
(file)
--- 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();
}