Commit 235581cf authored by davidcunado-arm's avatar davidcunado-arm Committed by GitHub
Browse files

Merge pull request #1045 from sandrine-bailleux-arm/sb/xlat-lib-ctx

Fix sign of variable in xlat_tables_print()
parents e43ae8e9 664e6931
...@@ -1123,7 +1123,7 @@ void xlat_tables_print(xlat_ctx_t *ctx) ...@@ -1123,7 +1123,7 @@ void xlat_tables_print(xlat_ctx_t *ctx)
int used_page_tables; int used_page_tables;
#if PLAT_XLAT_TABLES_DYNAMIC #if PLAT_XLAT_TABLES_DYNAMIC
used_page_tables = 0; used_page_tables = 0;
for (int i = 0; i < ctx->tables_num; ++i) { for (unsigned int i = 0; i < ctx->tables_num; ++i) {
if (ctx->tables_mapped_regions[i] != 0) if (ctx->tables_mapped_regions[i] != 0)
++used_page_tables; ++used_page_tables;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment