mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
12 lines
275 B
Diff
12 lines
275 B
Diff
--- ht-2.1.0.org/htapp.cc 2014-09-14 16:55:26.000000000 +0100
|
|
+++ ht-2.1.0/htapp.cc 2018-03-10 12:48:07.158533800 +0000
|
|
@@ -3023,7 +3023,7 @@
|
|
{
|
|
uint a = 2;
|
|
uint b = u/a;
|
|
- while (abs(a - b) > 1) {
|
|
+ while (abs((int)(a - b)) > 1) {
|
|
a = (a+b)/2;
|
|
b = u/a;
|
|
}
|