1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0023072: Eliminate compiler warnings (level 3) on Windows / MSVC++

This commit is contained in:
dbv
2012-06-25 11:31:40 +04:00
parent 9d091ec153
commit 60be1f9b1d
47 changed files with 126 additions and 121 deletions

View File

@@ -635,7 +635,7 @@ Storage_Error DDF_IOStream::BeginReadInfoSection()
{
Storage_Error s;
TCollection_AsciiString l;
Standard_Integer len = strlen(DDF_IOStream::MagicNumber());
Standard_Integer len = (Standard_Integer) strlen(DDF_IOStream::MagicNumber());
// Added because of Draw:
// It don't go to next line after reading its own header line information!
@@ -1336,7 +1336,7 @@ Storage_Error DDF_IOStream::IsGoodFileType(istream* anIStream)
if (s == Storage_VSOk) {
TCollection_AsciiString l;
Standard_Integer len = strlen(DDF_IOStream::MagicNumber());
Standard_Integer len = (Standard_Integer) strlen(DDF_IOStream::MagicNumber());
f.ReadChar(l,len);