mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
Eliminate newly appeared warnings
This commit is contained in:
@@ -59,7 +59,7 @@ Handle(Graphic3d_ShaderObject) Graphic3d_ShaderObject::CreateFromFile (const Gra
|
||||
}
|
||||
|
||||
aFile.Open (OSD_ReadOnly, OSD_Protection());
|
||||
aFile.Read (aShader->mySource, aFile.Size());
|
||||
aFile.Read (aShader->mySource, (int)aFile.Size());
|
||||
aFile.Close();
|
||||
|
||||
return aShader;
|
||||
|
Reference in New Issue
Block a user