genesys: Use correct type for std::plus

merge-requests/128/head
Povilas Kanapickas 2019-08-31 15:11:40 +03:00
rodzic e6b2786380
commit 5e5a1a6fc3
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -1248,7 +1248,7 @@ void sanei_genesys_calculate_zmod(SANE_Bool two_table,
// acceleration total time
unsigned sum = std::accumulate(slope_table.begin(), slope_table.begin() + acceleration_steps,
0, std::plus<uint16_t>());
0, std::plus<unsigned>());
/* Z1MOD:
c = sum(slope_table; reg_stepno)