Skip to content

Commit

Permalink
fix: get rid UB from integer overflow in transactionview
Browse files Browse the repository at this point in the history
  • Loading branch information
knst authored and PastaPastaPasta committed Jun 7, 2023
1 parent 6b87c21 commit c357460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/qt/transactionview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -333,7 +333,7 @@ void TransactionView::chooseType(int idx)
if(!transactionProxyModel)
return;
transactionProxyModel->setTypeFilter(
typeWidget->itemData(idx).toInt());
typeWidget->itemData(idx).toUInt());
// Persist settings
QSettings settings;
settings.setValue("transactionType", idx);
Expand Down

0 comments on commit c357460

Please sign in to comment.