mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
0023904: Multiple warning on Windows x86_64 target concerning WinAPI usage
This commit is contained in:
@@ -329,7 +329,7 @@ bool Image_AlienPixMap::savePPM (const TCollection_AsciiString& theFileName) con
|
||||
for (Standard_Size aCol = 0; aCol < SizeY(); ++aCol)
|
||||
{
|
||||
// extremely SLOW but universal (implemented for all supported pixel formats)
|
||||
aColor = PixelColor (aCol, aRow, aDummy);
|
||||
aColor = PixelColor ((Standard_Integer )aCol, (Standard_Integer )aRow, aDummy);
|
||||
aByte = Standard_Byte(aColor.Red() * 255.0); fwrite (&aByte, 1, 1, aFile);
|
||||
aByte = Standard_Byte(aColor.Green() * 255.0); fwrite (&aByte, 1, 1, aFile);
|
||||
aByte = Standard_Byte(aColor.Blue() * 255.0); fwrite (&aByte, 1, 1, aFile);
|
||||
|
Reference in New Issue
Block a user