This is the mail archive of the gcc@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]

Re: Why convert to pointer type before added to a pointer


Falk Hueffner wrote:

Well, it doesn't matter as long as it's done at the same width as that of pointers.

Then, why do we bother to cast index integer to unsigned? It does not conform to the standard, and maybe it will incur bugs in future.


cheers -- Jie


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]