wok-next view caps/stuff/patches/fix-overload.patch @ rev 20488
palemoon: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 12 11:00:54 2018 +0100 (2018-03-12) |
parents | |
children |
line source
1 --- AutoFilter.cc 2014-11-10 09:12:26.000000000 +0100
2 +++ AutoFilter.cc.fix 2017-12-07 23:12:08.612583839 +0100
3 @@ -69,7 +69,7 @@
4 void
5 AutoFilter::cycle (uint frames)
6 {
7 - div_t qr = div (frames, blocksize);
8 + div_t qr = div ((int) frames, (int) blocksize);
9 int blocks = qr.quot;
10 if (qr.rem) ++blocks;
11 double over_blocks = 1./blocks;