Adam D. Ruppe:

You could cast it to size_t, then the compiler will let you do the operation, but casting pointers to and from integers means you take matters of correctness into your own hands.

Right, so I have to carry around size_t instead of pointers.

Bye and thank you,
bearophile

Reply via email to