aboutsummaryrefslogtreecommitdiff
path: root/src/xz/file_io.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xz/file_io.c')
-rw-r--r--src/xz/file_io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xz/file_io.c b/src/xz/file_io.c
index a5841b37..aca9ebae 100644
--- a/src/xz/file_io.c
+++ b/src/xz/file_io.c
@@ -140,7 +140,7 @@ io_write_to_user_abort_pipe(void)
// handler. So ignore the errors and try to avoid warnings with
// GCC and glibc when _FORTIFY_SOURCE=2 is used.
uint8_t b = '\0';
- const int ret = write(user_abort_pipe[1], &b, 1);
+ const ssize_t ret = write(user_abort_pipe[1], &b, 1);
(void)ret;
return;
}