aboutsummaryrefslogtreecommitdiffstats
path: root/include/lib/utils_def.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/lib/utils_def.h')
-rw-r--r--include/lib/utils_def.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/lib/utils_def.h b/include/lib/utils_def.h
index 09ae3999d..2d0e9c08e 100644
--- a/include/lib/utils_def.h
+++ b/include/lib/utils_def.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2016-2019, ARM Limited and Contributors. All rights reserved.
+ * Copyright (c) 2016-2020, ARM Limited and Contributors. All rights reserved.
* Copyright (c) 2020, NVIDIA Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
@@ -17,7 +17,7 @@
#define IS_POWER_OF_TWO(x) \
(((x) & ((x) - 1)) == 0)
-#define SIZE_FROM_LOG2_WORDS(n) (4 << (n))
+#define SIZE_FROM_LOG2_WORDS(n) (U(4) << (n))
#define BIT_32(nr) (U(1) << (nr))
#define BIT_64(nr) (ULL(1) << (nr))