diff options
Diffstat (limited to 'src/analyze')
-rw-r--r-- | src/analyze/analyze-security.c | 4 | ||||
-rw-r--r-- | src/analyze/analyze.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/analyze/analyze-security.c b/src/analyze/analyze-security.c index 79b099a409..af0602d352 100644 --- a/src/analyze/analyze-security.c +++ b/src/analyze/analyze-security.c @@ -1447,11 +1447,11 @@ static int assess(const struct security_info *info, Table *overview_table, Analy if (!details_table) return log_oom(); - (void) table_set_sort(details_table, 3, 1, (size_t) -1); + (void) table_set_sort(details_table, (size_t) 3, (size_t) 1, (size_t) -1); (void) table_set_reverse(details_table, 3, true); if (getenv_bool("SYSTEMD_ANALYZE_DEBUG") <= 0) - (void) table_set_display(details_table, 0, 1, 2, 6, (size_t) -1); + (void) table_set_display(details_table, (size_t) 0, (size_t) 1, (size_t)2 , (size_t) 6, (size_t) -1); } for (i = 0; i < ELEMENTSOF(security_assessor_table); i++) { diff --git a/src/analyze/analyze.c b/src/analyze/analyze.c index 19c4ce9cd9..2280f38718 100644 --- a/src/analyze/analyze.c +++ b/src/analyze/analyze.c @@ -1101,7 +1101,7 @@ static int analyze_blame(int argc, char *argv[], void *userdata) { if (r < 0) return r; - r = table_set_sort(table, 0, SIZE_MAX); + r = table_set_sort(table, (size_t) 0, (size_t) SIZE_MAX); if (r < 0) return r; |