http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57647
--- Comment #4 from vijay Nag <vijunag at gmail dot com> --- (In reply to Marek Polacek from comment #3) > It should work for any type, but, why don't you do only foo++;, i.e. drop > the cast? In that case there shouldn't be value computed is not used > warning. Pointer Arithmetic. I want to advance the pointer by sizeof(unsigned long) but not by sizeof(char).