kopia lustrzana https://gitlab.com/sane-project/backends
genesys: Use correct type for std::plus
rodzic
e6b2786380
commit
5e5a1a6fc3
|
@ -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)
|
||||
|
|
Ładowanie…
Reference in New Issue