emit-rtl.c (reg_attrs_htab_hash): Replace long by intptr_t.

2011-01-24  Kai Tietz  <kai.tietz@onevision.com>

        * emit-rtl.c (reg_attrs_htab_hash): Replace long by intptr_t.

Additionally correct ChangeLog date entry for Koenig.

From-SVN: r169176
This commit is contained in:
Kai Tietz 2011-01-24 19:49:20 +01:00
parent e046112d14
commit 9841210f04
2 changed files with 6 additions and 2 deletions

View File

@ -1,4 +1,8 @@
2011-101-24 Paul Koning <ni1d@arrl.net>
2011-01-24 Kai Tietz <kai.tietz@onevision.com>
* emit-rtl.c (reg_attrs_htab_hash): Replace long by intptr_t.
2011-01-24 Paul Koning <ni1d@arrl.net>
* builtins.c (c_readstr): Fix byte order if BYTES_BIG_ENDIAN !=
WORDS_BIG_ENDIAN.

View File

@ -326,7 +326,7 @@ reg_attrs_htab_hash (const void *x)
{
const reg_attrs *const p = (const reg_attrs *) x;
return ((p->offset * 1000) ^ (long) p->decl);
return ((p->offset * 1000) ^ (intptr_t) p->decl);
}
/* Returns nonzero if the value represented by X (which is really a