ht/ht-2.1.0-gcc8.patch
Nicolas Chauvet 8ea6007f51 Add patches
2019-07-11 17:45:35 +02:00

15 lines
366 B
Diff

diff -up ht-2.1.0/htapp.cc.ambigus ht-2.1.0/htapp.cc
--- ht-2.1.0/htapp.cc.ambigus 2014-09-14 17:55:26.000000000 +0200
+++ ht-2.1.0/htapp.cc 2019-07-11 17:26:21.766503998 +0200
@@ -3021,8 +3021,8 @@ void do_modal_resize()
static uint isqr(uint u)
{
- uint a = 2;
- uint b = u/a;
+ int a = 2;
+ int b = u/a;
while (abs(a - b) > 1) {
a = (a+b)/2;
b = u/a;