Skip to content

Commit

Permalink
Fix: libdnf5-cli: TransactionSummary counters data type
Browse files Browse the repository at this point in the history
Fixes "error: implicit conversion changes signedness: 'const int' to
'unsigned long' [-Werror,-Wsign-conversion]"
The bug was caused by commit "I18N: Mark messages in "dnf install" output
for a translation"
  • Loading branch information
jrohel committed Sep 17, 2024
1 parent 8ad4614 commit 8d57c51
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions libdnf5-cli/output/transaction_table.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -186,14 +186,14 @@ class TransactionSummary {
}

private:
int installs = 0;
int reinstalls = 0;
int upgrades = 0;
int downgrades = 0;
int removes = 0;
int replaced = 0;
int reason_changes = 0;
int skips = 0;
unsigned int installs = 0;
unsigned int reinstalls = 0;
unsigned int upgrades = 0;
unsigned int downgrades = 0;
unsigned int removes = 0;
unsigned int replaced = 0;
unsigned int reason_changes = 0;
unsigned int skips = 0;
};


Expand Down

0 comments on commit 8d57c51

Please sign in to comment.