Browse Source
Use ptrdiff_t modifier (%tx) for printing a difference between 2 pointers. Currently
%zx (size_t) is used, but it fails on platforms where size_t and ptrdiff_t are
defined differently (like s390).
Comes from
f3da2d1b00
?branch=master
originally.
Signed-off-by: Dan Horák <dan@danny.cz>
main
Dan Horák
6 years ago
1 changed files with 5 additions and 5 deletions
Loading…
Reference in new issue