Explicit cast due to compiler warning.
This commit is contained in:
parent
ed9e60a972
commit
7aded2b7fb
@ -583,7 +583,7 @@ int Configuration::getPaymentOptionIndex(QDateTime const &dt) const {
|
||||
if (sd.ped_id != 0) {
|
||||
for (int opt=0; opt < numOptions; ++opt) {
|
||||
uint64_t const pop_id = getPaymentOptions(opt).pop_id;
|
||||
if (pop_id == sd.ped_payment_option_id) {
|
||||
if (pop_id == (uint64_t)sd.ped_payment_option_id) {
|
||||
return opt;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user