From 584df6986e20fcf8664d49e1742616f4cb0f1726 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sun, 24 Nov 2013 04:39:36 +0100 Subject: [PATCH] tar2qfile: fix compile warnings --- qubes-rpc/tar2qfile.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/qubes-rpc/tar2qfile.c b/qubes-rpc/tar2qfile.c index afd1da8..d3fe3fe 100644 --- a/qubes-rpc/tar2qfile.c +++ b/qubes-rpc/tar2qfile.c @@ -630,7 +630,7 @@ ustar_rd (int fd, struct file_header * untrusted_hdr, char *buf, struct stat * s fprintf(stderr,"File is AREGTYPE\n"); break; case REGTYPE: - fprintf(stderr,"File is REGTYPE of size %d\n",sb->st_size); + fprintf(stderr,"File is REGTYPE of size %ld\n",sb->st_size); // Check if user want to extract this file should_extract = 1; @@ -863,8 +863,6 @@ int main(int argc, char **argv) { int i; char *entry; - char *cwd; - char *sep; int fd; int use_stdin = 1; struct filters filters;