From: eap Date: Tue, 8 Apr 2008 12:14:41 +0000 (+0000) Subject: fix DriverMED_Family::Init() X-Git-Tag: V4_1_2rc1~16 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=72a4218868b18af6583f91200cbc7ec21dce906a;p=modules%2Fsmesh.git fix DriverMED_Family::Init() --- diff --git a/src/DriverMED/DriverMED_Family.cxx b/src/DriverMED/DriverMED_Family.cxx index 81bfed534..69265bb1d 100644 --- a/src/DriverMED/DriverMED_Family.cxx +++ b/src/DriverMED/DriverMED_Family.cxx @@ -385,9 +385,9 @@ void DriverMED_Family::Init (SMESHDS_GroupBase* theGroup) double aRed = aColor.Red(); double aGreen = aColor.Green(); double aBlue = aColor.Blue(); - int aR = (int) aRed*255; - int aG = (int) aGreen*255; - int aB = (int) aBlue*255; + int aR = int( aRed*255 ); + int aG = int( aGreen*255 ); + int aB = int( aBlue*255 ); // cout << "aRed = " << aR << endl; // cout << "aGreen = " << aG << endl; // cout << "aBlue = " << aB << endl;