This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello, In genattribtab.c the macro RTL_HASH uses type long to cast from pointer to scalar. This leads to warnings for x64 windows targets, as long has not pointer size width. As here are just used the lower 24 bits of this scalar the use of size_t instead should be ok. ChangeLog 2009-08-31 Kai Tietz <kai.tietz@onevision.com> * genattribtab.c (RTL_HASH): Use size_t instead of long cast. Tested for x86_64-pc-mingw32 and for i686-pc-mingw32. Ok for apply? Cheers, Kai -- | (\_/) This is Bunny. Copy and paste | (='.'=) Bunny into your signature to help | (")_(") him gain world domination
Attachment:
genattrtab.diff
Description: Binary data
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |