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

Add neofetch, tcl2c-fork; build two versions of tklauncher (using tcl2c and tcl2c-fork) with different warnings
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jun 23 09:45:42 2018 +0300 (2018-06-23)
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;