[Bf-blender-cvs] [eda58c47b88] master: Cleanup: asan warning with bit-shifting flag
Campbell Barton
noreply at git.blender.org
Wed Jun 10 15:04:56 CEST 2020
Commit: eda58c47b88ee32f8eea902d290b61a4d1d27a17
Author: Campbell Barton
Date: Wed Jun 10 22:56:55 2020 +1000
Branches: master
https://developer.blender.org/rBeda58c47b88ee32f8eea902d290b61a4d1d27a17
Cleanup: asan warning with bit-shifting flag
===================================================================
M source/blender/editors/include/ED_armature.h
===================================================================
diff --git a/source/blender/editors/include/ED_armature.h b/source/blender/editors/include/ED_armature.h
index 5ffbe42d1d5..541e2633512 100644
--- a/source/blender/editors/include/ED_armature.h
+++ b/source/blender/editors/include/ED_armature.h
@@ -120,9 +120,9 @@ typedef struct EditBone {
} temp;
} EditBone;
-#define BONESEL_ROOT (1 << 29u)
-#define BONESEL_TIP (1 << 30u)
-#define BONESEL_BONE (1 << 31u)
+#define BONESEL_ROOT (1u << 29)
+#define BONESEL_TIP (1u << 30)
+#define BONESEL_BONE (1u << 31)
#define BONESEL_ANY (BONESEL_TIP | BONESEL_ROOT | BONESEL_BONE)
/* useful macros */
More information about the Bf-blender-cvs
mailing list