summaryrefslogtreecommitdiffstats
path: root/contrib/binutils/gas/hash.c
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1998-09-06 22:57:45 +0000
committerjdp <jdp@FreeBSD.org>1998-09-06 22:57:45 +0000
commiteffee09f856ecc81feb91290459a2cda49d20287 (patch)
tree5c46ac1ee102130859f788aeb927e8086985cfe7 /contrib/binutils/gas/hash.c
parent31cb88078db5bdc51eb451c5a61e31a426fb8ae6 (diff)
downloadFreeBSD-src-effee09f856ecc81feb91290459a2cda49d20287.zip
FreeBSD-src-effee09f856ecc81feb91290459a2cda49d20287.tar.gz
Import GNU binutils-2.9.1. This will break things for a few minutes
until I've made the commits to resolve the conflicts. Submitted by: Doug Rabson <dfr>
Diffstat (limited to 'contrib/binutils/gas/hash.c')
-rw-r--r--contrib/binutils/gas/hash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/binutils/gas/hash.c b/contrib/binutils/gas/hash.c
index 51a3d84..dccd660 100644
--- a/contrib/binutils/gas/hash.c
+++ b/contrib/binutils/gas/hash.c
@@ -1,5 +1,5 @@
/* hash.c - hash table lookup strings -
- Copyright (C) 1987, 90, 91, 92, 93, 94, 95, 1996
+ Copyright (C) 1987, 90, 91, 92, 93, 94, 95, 96, 1998
Free Software Foundation, Inc.
This file is part of GAS, the GNU Assembler.
@@ -705,7 +705,7 @@ hash_ask (handle, string, access_type)
hash_found = TRUE;
break;
}
- if (slot->h == hcode)
+ if (slot->h == (unsigned long) hcode)
{
if (!strcmp (string, s))
{
@@ -735,7 +735,7 @@ hash_ask (handle, string, access_type)
hash_found = TRUE;
break;
}
- if (slot->h == hcode)
+ if (slot->h == (unsigned long) hcode)
{
if (!strcmp (string, s))
{
OpenPOWER on IntegriCloud