From edd95d9b65b052a4d7129b3a1a85d16117b6507a Mon Sep 17 00:00:00 2001 From: mcudev <29890609+mcudev@users.noreply.github.com> Date: Mon, 30 Oct 2017 13:31:31 -0400 Subject: [PATCH] secbool: add unsigned literal suffixes --- embed/trezorhal/secbool.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/embed/trezorhal/secbool.h b/embed/trezorhal/secbool.h index cfb6086f74..78e1cbfd6c 100644 --- a/embed/trezorhal/secbool.h +++ b/embed/trezorhal/secbool.h @@ -4,7 +4,7 @@ #include typedef uint32_t secbool; -#define sectrue 0xAAAAAAAA -#define secfalse 0x00000000 +#define sectrue 0xAAAAAAAAU +#define secfalse 0x00000000U #endif