summaryrefslogtreecommitdiff
path: root/editors/hte/files/patch-htapp.cc
blob: 0b90d4ea3910af75552ad193a8f898e8b2645a61 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- htapp.cc.orig	2016-07-02 07:48:11 UTC
+++ htapp.cc
@@ -3023,7 +3023,7 @@ static uint isqr(uint u)
 {
 	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;
         }