X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/b335d74565edf53d38056b9b83a5674e2203e1ff..3aae15ecfba78001055a547f79f801ccdbc17158:/options.c diff --git a/options.c b/options.c index 58b58de6..6b3227dd 100644 --- a/options.c +++ b/options.c @@ -126,7 +126,7 @@ static void print_rsync_version(int f) rprintf(f, "\n"); rprintf(f, "Capabilities: %d-bit files, %ssocketpairs, " "%shard links, %ssymlinks, batchfiles\n\n", - sizeof(int64) * 8, + (int) (sizeof(int64) * 8), got_socketpair, hardlinks, links); @@ -281,7 +281,7 @@ static struct poptOption long_options[] = { {"max-delete", 0, POPT_ARG_INT, &max_delete}, {"timeout", 0, POPT_ARG_INT, &io_timeout}, {"temp-dir", 'T', POPT_ARG_STRING, &tmpdir}, - {"compare-dest", 0, POPT_ARG_NONE, &compare_dest}, + {"compare-dest", 0, POPT_ARG_STRING, &compare_dest}, /* TODO: Should this take an optional int giving the compression level? */ {"compress", 'z', POPT_ARG_NONE, &do_compression}, {"daemon", 0, POPT_ARG_NONE, &am_daemon},