You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
315 B

diff -u -r ../ht-2.1.0/htapp.cc ./htapp.cc
--- ../ht-2.1.0/htapp.cc 2014-09-14 17:55:26.000000000 +0200
+++ ./htapp.cc 2017-07-13 11:21:19.614513024 +0200
@@ -3023,7 +3023,7 @@
{
uint a = 2;
uint b = u/a;
- while (abs(a - b) > 1) {
+ while (abs(a - (long long) b) > 1) {
a = (a+b)/2;
b = u/a;
}