diff options
author | Benjamin Barenblat <bbaren@google.com> | 2022-07-18 12:23:48 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-07-18 12:24:41 -0700 |
commit | 65ac1e611c45843482ae74e7291c578aa7881f5b (patch) | |
tree | a48b47fa6ffbffb3a16e49c536c9d7cda03c6e12 /create_lts.py | |
parent | 6162604bee9e1018ff807c6f655cb1ee81b92a04 (diff) | |
download | abseil-65ac1e611c45843482ae74e7291c578aa7881f5b.tar.gz abseil-65ac1e611c45843482ae74e7291c578aa7881f5b.tar.bz2 abseil-65ac1e611c45843482ae74e7291c578aa7881f5b.zip |
Avoid signedness change when casting off_t
Some ABSL_RAW_LOG statements print off_t values by casting them to
uintmax_t. However, POSIX says off_t is signed [1], so intmax_t is more
appropriate. Replace casts and format specifiers as needed.
[1] https://pubs.opengroup.org/onlinepubs/009696899/basedefs/sys/types.h.html#:~:text=off_t%20shall,%20types%2e
PiperOrigin-RevId: 461684406
Change-Id: I09ec1a3ba49cd688670618797943a84bc48dba3e
Diffstat (limited to 'create_lts.py')
0 files changed, 0 insertions, 0 deletions