summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2022-09-10 17:03:44 -0500
committerPaul Eggert <eggert@cs.ucla.edu>2022-09-10 17:03:44 -0500
commit2dedbc606b58031b0f8263ebcf6eba1c3dfc5026 (patch)
tree4b5fd96bc62455ff1019a3581bc3780f3d703518
parent4b7fa734a06975010b24ce31b1c3bee5c7de569c (diff)
downloadpaxutils-2dedbc606b58031b0f8263ebcf6eba1c3dfc5026.tar.gz
Fix seek_warn_details typo
* paxlib/error.c (seek_warn_details): Change int to intmax_t to fix recently-introduced typo.
-rw-r--r--paxlib/error.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/paxlib/error.c b/paxlib/error.c
index f363d84..cfec4f9 100644
--- a/paxlib/error.c
+++ b/paxlib/error.c
@@ -268,7 +268,7 @@ seek_warn (char const *name)
void
seek_warn_details (char const *name, off_t offset)
{
- int off = offset;
+ intmax_t off = offset;
int e = errno;
WARN ((0, e, _("%s: Warning: Cannot seek to %jd"),
quotearg_colon (name), off));