From c3d3ae3ee7549de94121bee52b9604b142a7f27f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 28 Apr 2014 02:22:03 +1000 Subject: Code cleanup: avoid warning about bit-shift outside int range --- source/blender/editors/include/ED_armature.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '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 4cf2257f6a1..be2c7daac85 100644 --- a/source/blender/editors/include/ED_armature.h +++ b/source/blender/editors/include/ED_armature.h @@ -90,7 +90,7 @@ typedef struct EditBone { #define BONESEL_BONE (1 << 30) #define BONESEL_ANY (BONESEL_TIP | BONESEL_ROOT | BONESEL_BONE) -#define BONESEL_NOSEL (1 << 31) /* Indicates a negative number */ +#define BONESEL_NOSEL (1u << 31u) /* useful macros */ #define EBONE_VISIBLE(arm, ebone) ( \ -- cgit v1.2.3