1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-29 14:00:49 +03:00

0023369: MSVC++ warnings issued during compilation for 64bits, Materials.cxx

Replaced 'Standard_Integer' with 'Standard_Size' to avoid compiler warning.
This commit is contained in:
Pawel
2012-08-07 11:07:28 +02:00
committed by bugmaster
parent 2ac0971028
commit 40f53a3858

View File

@@ -44,7 +44,7 @@ void DictionaryOfDefinitions(Handle(Materials_MaterialDefinition)&);
void Materials::MaterialFile(const Standard_CString afile)
{
Standard_Integer length = strlen(afile);
Standard_Size length = strlen(afile);
materialfile = new Standard_Character[length+1];
strcpy(materialfile,afile);
materialfile[length] = 0;
@@ -57,7 +57,7 @@ void Materials::MaterialFile(const Standard_CString afile)
void Materials::MaterialsFile(const Standard_CString afile)
{
Standard_Integer length = strlen(afile);
Standard_Size length = strlen(afile);
materialsfile = new Standard_Character[length+1];
strcpy(materialsfile,afile);
materialsfile[length] = 0;