would using casts fix the problem?
Posted Apr 16, 2008 20:27 UTC (Wed) by jengelh
In reply to: would using casts fix the problem?
Parent article: GCC and pointer overflows
Or better yet don't cast at all.
printf can take a
ptrdiff_t, which is what such a subtraction should usually yield.
to post comments)