0024087: Eliminate compiler warning C4244 in MSVC++ with warning level 4
[occt.git] / src / Interface / Interface_InterfaceModel.cxx
index 844cfb9..eb407aa 100755 (executable)
@@ -793,7 +793,7 @@ Standard_Boolean Interface_InterfaceModel::SetCategoryNumber
       c->SetValue(i,thecategory->Value(i));
     thecategory = c;
   }
-  Standard_Character cval = (val + 32);
+  Standard_Character cval = (Standard_Character)(val + 32);
   thecategory->SetValue(num,cval);
   return Standard_True;
 }