From e6980c335494a8ad19014f0af6ea09e149c572d1 Mon Sep 17 00:00:00 2001 From: Kaz Kylheku Date: Sun, 28 Oct 2018 11:37:13 -0700 Subject: hash: gnu C++ signed/unsigned warning. * hash.c (hash_double): Fix comparison warning between signed loop variable and unsigned limit expression. --- hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hash.c b/hash.c index e5f00ecf..5413f65a 100644 --- a/hash.c +++ b/hash.c @@ -186,7 +186,7 @@ static ucnum hash_double(double n) volatile ucnum a[sizeof (double) / sizeof (ucnum)]; } u; ucnum h = 0; - int i; + unsigned i; u.d = n; -- cgit v1.2.3