patch-htapp_cc 300 B

12345678910111213
  1. $OpenBSD: patch-htapp_cc,v 1.1 2017/04/19 09:13:28 benoit Exp $
  2. --- htapp.cc.orig Wed Apr 19 10:45:16 2017
  3. +++ htapp.cc Wed Apr 19 10:46:05 2017
  4. @@ -3023,7 +3023,7 @@
  5. {
  6. uint a = 2;
  7. uint b = u/a;
  8. - while (abs(a - b) > 1) {
  9. + while (abs((int)(a - b)) > 1) {
  10. a = (a+b)/2;
  11. b = u/a;
  12. }