diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2018-10-28 11:37:13 -0700 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2018-10-28 11:37:13 -0700 |
commit | c8e46ecf58a595b9bcb61708c4e17be5ec030292 (patch) | |
tree | e471962536d8b3dbc916caf179eee9b2a745d14d | |
parent | c9a5155e57933a053ac4bdf54e436fa852818f54 (diff) | |
download | txr-c8e46ecf58a595b9bcb61708c4e17be5ec030292.tar.gz txr-c8e46ecf58a595b9bcb61708c4e17be5ec030292.tar.bz2 txr-c8e46ecf58a595b9bcb61708c4e17be5ec030292.zip |
hash: gnu C++ signed/unsigned warning.
* hash.c (hash_double): Fix comparison warning between signed
loop variable and unsigned limit expression.
-rw-r--r-- | hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |