From eda58c47b88ee32f8eea902d290b61a4d1d27a17 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 10 Jun 2020 22:56:55 +1000 Subject: Cleanup: asan warning with bit-shifting flag --- source/blender/editors/include/ED_armature.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/blender/editors/include') 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 */ -- cgit v1.2.3