From 5c9ed9f41afc6531daee5904673cf889c339ed3d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Wed, 20 Apr 2005 00:28:44 +0000 Subject: fix printf warning --- archival/libunarchive/archive_xread_all_eof.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'archival') diff --git a/archival/libunarchive/archive_xread_all_eof.c b/archival/libunarchive/archive_xread_all_eof.c index 8084e35..f1eea29 100644 --- a/archival/libunarchive/archive_xread_all_eof.c +++ b/archival/libunarchive/archive_xread_all_eof.c @@ -26,7 +26,7 @@ extern ssize_t archive_xread_all_eof(archive_handle_t *archive_handle, unsigned size = bb_full_read(archive_handle->src_fd, buf, count); if ((size != 0) && (size != count)) { - bb_perror_msg_and_die("Short read, read %d of %d", size, count); + bb_perror_msg_and_die("Short read, read %ld of %ld", (long)size, (long)count); } return(size); } -- cgit v1.1