]> OCCT Git - occt.git/commitdiff
Coding - Compiling issue on aarch64 #157
authordpasukhi <dpasukhi@opencascade.com>
Thu, 14 Nov 2024 07:41:02 +0000 (07:41 +0000)
committerdpasukhi <dpasukhi@opencascade.com>
Thu, 14 Nov 2024 07:41:02 +0000 (07:41 +0000)
Enumerator value evaluates to -1, which cannot be narrowed to type 'char' [-Wc++11-narrowing]

src/DE/DE_ShapeFixParameters.hxx

index 98c0dfd52cec7b0a780f36e1653d0f7379e9142c..eb975ce02d69642c5b7f4a5337f409f2760463d7 100644 (file)
@@ -18,7 +18,7 @@
 struct DE_ShapeFixParameters
 {
   //! Enum, classifying a type of value for parameters
-  enum class FixMode : char
+  enum class FixMode : signed char
   {
     FixOrNot = -1, //!< Procedure will be executed or not (depending on the situation)
     NotFix = 0,    //!< Procedure will be executed