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:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user