- Fix build with libc++ 3.8.0; this unbreaks hte on CURRENT
PR: 208726 Submitted by: dim@
This commit is contained in:
parent
4ea37e852f
commit
cafa8135b6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=417913
11
editors/hte/files/patch-htapp.cc
Normal file
11
editors/hte/files/patch-htapp.cc
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user