diff options
Diffstat (limited to 'nixpkgs/pkgs/applications/editors/ht/gcc7.patch')
-rw-r--r-- | nixpkgs/pkgs/applications/editors/ht/gcc7.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/applications/editors/ht/gcc7.patch b/nixpkgs/pkgs/applications/editors/ht/gcc7.patch new file mode 100644 index 000000000000..a90deaac698d --- /dev/null +++ b/nixpkgs/pkgs/applications/editors/ht/gcc7.patch @@ -0,0 +1,11 @@ +--- 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; + } |