Commit 9841210f by Kai Tietz

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
parent e046112d
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 != * builtins.c (c_readstr): Fix byte order if BYTES_BIG_ENDIAN !=
WORDS_BIG_ENDIAN. WORDS_BIG_ENDIAN.
......
...@@ -326,7 +326,7 @@ reg_attrs_htab_hash (const void *x) ...@@ -326,7 +326,7 @@ reg_attrs_htab_hash (const void *x)
{ {
const reg_attrs *const p = (const reg_attrs *) 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 /* Returns nonzero if the value represented by X (which is really a
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment