Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2020-06-10 15:56:55 +0300
committerCampbell Barton <ideasman42@gmail.com>2020-06-10 16:01:57 +0300
commiteda58c47b88ee32f8eea902d290b61a4d1d27a17 (patch)
tree675b1f0152bdcf728243ceba6b288bc7f6ab21df /source/blender/editors/include
parent4fefe3ac3b8d8cd70d1f54e1be21f6455ce0d744 (diff)
Cleanup: asan warning with bit-shifting flag
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r--source/blender/editors/include/ED_armature.h6
1 files changed, 3 insertions, 3 deletions
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 */