From: dpasukhi Date: Thu, 14 Nov 2024 07:41:02 +0000 (+0000) Subject: Coding - Compiling issue on aarch64 #157 X-Git-Tag: V7_9_0_beta1~114 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=6b0668453941b95a5e5f718d8054f5f057be8cc3;p=occt.git Coding - Compiling issue on aarch64 #157 Enumerator value evaluates to -1, which cannot be narrowed to type 'char' [-Wc++11-narrowing] --- diff --git a/src/DE/DE_ShapeFixParameters.hxx b/src/DE/DE_ShapeFixParameters.hxx index 98c0dfd52c..eb975ce02d 100644 --- a/src/DE/DE_ShapeFixParameters.hxx +++ b/src/DE/DE_ShapeFixParameters.hxx @@ -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