- Fix build with libc++ 3.8.0; this unbreaks hte on CURRENT

PR:		208726
Submitted by:	dim@
This commit is contained in:
Marcus von Appen 2016-07-02 07:57:38 +00:00
parent 4ea37e852f
commit cafa8135b6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=417913

View File

@ -0,0 +1,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;
}