Skip to content

Commit

Permalink
dnfdaemon-client: Use correct data type for callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
m-blaha committed Jan 2, 2025
1 parent 14ee083 commit 8f7af5e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dnf5daemon-client/callbacks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ void DownloadCB::end(sdbus::Signal & signal) {
return;
}

int status_i;
unsigned int status_i;
std::string msg;
signal >> status_i;
signal >> msg;
Expand Down Expand Up @@ -364,7 +364,7 @@ void TransactionCB::transaction_end(sdbus::Signal & signal) {
void TransactionCB::action_start(sdbus::Signal & signal) {
if (signature_valid(signal)) {
std::string nevra;
int action_i;
unsigned int action_i;
uint64_t total;
signal >> nevra;
signal >> action_i;
Expand Down

0 comments on commit 8f7af5e

Please sign in to comment.