diff options
author | 1997-07-01 05:53:29 +0000 | |
---|---|---|
committer | 1997-07-01 05:53:29 +0000 | |
commit | 64290f8e02e491bebd0a7bed2af6f2a86409e82b (patch) | |
tree | ea684dfafd1d92c2790a401ab8f7db37487d4eb5 | |
parent | Some -Wall cleanliness. (diff) | |
download | wireguard-openbsd-64290f8e02e491bebd0a7bed2af6f2a86409e82b.tar.xz wireguard-openbsd-64290f8e02e491bebd0a7bed2af6f2a86409e82b.zip |
-Wall cleanliness
-rw-r--r-- | lib/libc/gen/elf_hash.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/elf_hash.c b/lib/libc/gen/elf_hash.c index f09b970b516..ece43adb857 100644 --- a/lib/libc/gen/elf_hash.c +++ b/lib/libc/gen/elf_hash.c @@ -26,7 +26,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char rcsid[] = "$OpenBSD: elf_hash.c,v 1.4 1997/06/29 05:46:50 deraadt Exp $"; +static char rcsid[] = "$OpenBSD: elf_hash.c,v 1.5 1997/07/01 05:53:29 millert Exp $"; #endif /* LIBC_SCCS and not lint */ #include <sys/types.h> @@ -56,7 +56,7 @@ elf_hash(name) while (*name) { h = (h << 4) + *name++; - if (g = h & 0xf0000000) + if ((g = h & 0xf0000000)) h ^= g >> 24; h &= ~g; } |