Aligning comments.
Using ptrdiff_t whenever appropriate.