From 08137aaeb8f54a0d6b95e52e8ce4bc1e152b1799 Mon Sep 17 00:00:00 2001 From: Uwe Date: Sun, 19 Dec 2021 21:58:19 +0100 Subject: [PATCH] [PD] fix compilation issue with Helix I introduced it with commit e87b0f4a --- src/Mod/PartDesign/App/FeatureHelix.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Mod/PartDesign/App/FeatureHelix.cpp b/src/Mod/PartDesign/App/FeatureHelix.cpp index 0ca0189a51..d983991a97 100644 --- a/src/Mod/PartDesign/App/FeatureHelix.cpp +++ b/src/Mod/PartDesign/App/FeatureHelix.cpp @@ -85,7 +85,7 @@ Helix::Helix() "The helix' direction; derived from the reference axis."); ADD_PROPERTY_TYPE(ReferenceAxis, (0), group, App::Prop_None, "The reference axis of the helix."); - ADD_PROPERTY_TYPE(Mode, (unsigned int(initialMode)), group, App::Prop_None, + ADD_PROPERTY_TYPE(Mode, (long(initialMode)), group, App::Prop_None, "The helix input mode specifies which properties are set by the user.\n" "Dependent properties are then calculated."); Mode.setEnums(ModeEnums);