diff options
author | Varun Wadekar <vwadekar@nvidia.com> | 2017-06-16 14:15:34 -0700 |
---|---|---|
committer | David Cunado <david.cunado@arm.com> | 2017-06-20 14:39:34 +0100 |
commit | 2676f6a9be501fcf819692824ccfe9499bc0fea7 (patch) | |
tree | 9288e4b750ea094d45e249065f393702d1aba26b /lib | |
parent | 3705cd47b2a431a37e2abb2fb02e513c0c0c14f9 (diff) | |
download | arm-trusted-firmware-2676f6a9be501fcf819692824ccfe9499bc0fea7.tar.gz |
xlat_tables_v2: fix signed/unsigned comparisons
This patch changes input param level in xlat_tables_print_internal() to
an unsigned int to fix the signed/unsigned comparison warnings. The
compiler complains about these warnings, thus halting the build flow
for Tegra platforms.
Change-Id: Ieccc262a63daca7a26ca6a14d81466397af8b89f
Signed-off-by: Varun Wadekar <vwadekar@nvidia.com>
Signed-off-by: David Cunado <david.cunado@arm.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/xlat_tables_v2/xlat_tables_internal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/xlat_tables_v2/xlat_tables_internal.c b/lib/xlat_tables_v2/xlat_tables_internal.c index e1a252be5..f60d78c10 100644 --- a/lib/xlat_tables_v2/xlat_tables_internal.c +++ b/lib/xlat_tables_v2/xlat_tables_internal.c @@ -953,7 +953,7 @@ static const char *invalid_descriptors_ommited = */ static void xlat_tables_print_internal(const uintptr_t table_base_va, uint64_t *const table_base, const int table_entries, - const int level, const uint64_t execute_never_mask) + const unsigned int level, const uint64_t execute_never_mask) { assert(level <= XLAT_TABLE_LEVEL_MAX); |