Why convert to pointer type before added to a pointer

Jie Zhang zhangjie@magima.com.cn
Thu Aug 19 04:28:00 GMT 2004


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



More information about the Gcc mailing list