From: Andreas Reichel <andreas.reichel....@siemens.com> Brackets are important for definition of flag bits, otherwise logical operations like 'not' lead to wrong results.
Signed-off-by: Andreas Reichel <andreas.reichel....@siemens.com> --- include/ebgenv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/ebgenv.h b/include/ebgenv.h index 1257141..3f03012 100644 --- a/include/ebgenv.h +++ b/include/ebgenv.h @@ -28,8 +28,8 @@ #define USERVAR_TYPE_SINT64 9 #define USERVAR_TYPE_STRING_ASCII 32 #define USERVAR_TYPE_BOOL 64 -#define USERVAR_TYPE_GLOBAL 1ULL << 62 -#define USERVAR_TYPE_DELETED 1ULL << 63 +#define USERVAR_TYPE_GLOBAL (1ULL << 62) +#define USERVAR_TYPE_DELETED (1ULL << 63) #define USERVAR_TYPE_DEFAULT USERVAR_TYPE_GLOBAL #define USERVAR_STANDARD_TYPE_MASK ((1ULL << 32) - 1) -- 2.15.0 -- You received this message because you are subscribed to the Google Groups "EFI Boot Guard" group. To unsubscribe from this group and stop receiving emails from it, send an email to efibootguard-dev+unsubscr...@googlegroups.com. To post to this group, send email to efibootguard-dev@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/efibootguard-dev/20171116135213.15423-3-andreas.reichel.ext%40siemens.com. For more options, visit https://groups.google.com/d/optout.