wok-next view caps/stuff/patches/fix-overload.patch @ rev 21229

updated clamav (0.99.4 -> 0.101.1)
author Hans-G?nter Theisgen
date Tue Dec 03 16:54:38 2019 +0100 (2019-12-03)
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;