diff options
author | Paul Smith <psmith@gnu.org> | 2002-09-18 04:35:52 +0000 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2002-09-18 04:35:52 +0000 |
commit | 76652d5d02b31941ec085435f62b6c955d7e63d3 (patch) | |
tree | 1e59d09b065ad6ad3d3d096dbe6611d1499fb2aa /hash.c | |
parent | dac7b49de4b935db71d7b4257c6354f16fe41cfa (diff) | |
download | gunmake-76652d5d02b31941ec085435f62b6c955d7e63d3.tar.gz |
Add some indexing to the manual.
Fix a few simple casting warnings, etc.
Diffstat (limited to 'hash.c')
-rw-r--r-- | hash.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -359,7 +359,11 @@ round_up_2 (n) n |= (n >> 4); n |= (n >> 8); n |= (n >> 16); + +#if !defined(HAVE_LIMITS_H) || ULONG_MAX > 4294967295 + /* We only need this on systems where unsigned long is >32 bits. */ n |= (n >> 32); +#endif return n + 1; } |