diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2014-08-22 12:07:11 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2014-08-22 12:07:38 -0700 |
commit | 1505b379af16deab5b301b2f07f1d659ce2137cb (patch) | |
tree | 1440f36a221c904d2db821325cc07ae2fe9ecbbb /README-package-renamed-to-coreutils | |
parent | 00d0c41d857a1c74169e43d1fba761cdd5279dba (diff) | |
download | coreutils-1505b379af16deab5b301b2f07f1d659ce2137cb.tar.xz |
maint: avoid int64_t and similar types unless they're needed
C11 doesn't require them, even POSIX doesn't strictly require the
64-bit versions, and it makes the code a bit clearer if they're
used only when needed.
* src/copy.c (write_zeros, extent_copy):
* src/extent-scan.h (struct extent_info.ext_length):
Use off_t, not uint64_t, for a value derived from a file offset.
* src/extent-scan.h (struct extent_info.ext_flags)
Prefer plain unsigned int to uint32_t where either will do.
(struct extent_scan.ei_count):
Use size_t, not uint32_t, for a value bounded by SIZE_MAX.
* src/factor.c (MAGIC64, MAGIC63, MAGIC65):
Remove unnecessary casts to uint64_t.
Diffstat (limited to 'README-package-renamed-to-coreutils')
0 files changed, 0 insertions, 0 deletions