]> diplodocus.org Git - nmh/commit
m_getfld.c: Use intmax_t and PRIdMAX to printf off_t values.
authorRalph Corderoy <ralph@inputplus.co.uk>
Wed, 9 Aug 2017 18:46:26 +0000 (19:46 +0100)
committerRalph Corderoy <ralph@inputplus.co.uk>
Wed, 9 Aug 2017 18:46:26 +0000 (19:46 +0100)
commit9c7b5289d70448fb5b118abbea5a4d37afdf00be
treede8b90b3cff8dd2a441a3342412314cf6a0275e6
parentdf646add9dde90130753c06938e425c8f8f39c0f
m_getfld.c: Use intmax_t and PRIdMAX to printf off_t values.

Compiling for ISO C90 prohibits casting to long long and printing with
"%lld", and printing as "%ld" is wrong on Mac OS where David reports
off_t is long long.
sbr/m_getfld.c