a87d8a45a2
This code calculates the difference between two pointers and then stores it in an off_t, which is intended for file offsets. In this particular case, the offset will never be large enough to overflow off_t, but use the correct ptrdiff_t type anyway. Change-Id: I6b159bf0286a7f5962d08b9894538f4d99c8647b Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>