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:
@@ -69,7 +69,7 @@ static int realstr(Standard_Real V, Standard_CString F)
|
||||
// Create : from a CString
|
||||
//-----------------------------------------------------------------------
|
||||
PCollection_HAsciiString::PCollection_HAsciiString(const Standard_CString S)
|
||||
: Data(strlen(S))
|
||||
: Data((Standard_Integer) strlen(S))
|
||||
{
|
||||
for( Standard_Integer i = 0 ; i < Data.Length() ; i++)
|
||||
Data.SetValue(i, S[i]) ;
|
||||
|
@@ -72,7 +72,7 @@ PCollection_HExtendedString::PCollection_HExtendedString
|
||||
// Create : from a CString
|
||||
//-----------------------------------------------------------------------
|
||||
PCollection_HExtendedString::PCollection_HExtendedString(const Standard_CString S)
|
||||
: Data(strlen(S))
|
||||
: Data((Standard_Integer) strlen(S))
|
||||
{
|
||||
for( Standard_Integer i = 0 ; i < Data.Length() ; i++) {
|
||||
Standard_ExtCharacter val = ToExtCharacter(S[i]);
|
||||
|
Reference in New Issue
Block a user