Explicit cast due to compiler warning.

This commit is contained in:
Gerhard Hoffmann 2024-04-30 13:46:59 +02:00
parent ed9e60a972
commit 7aded2b7fb

View File

@ -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;
}
}