summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2001-02-24 01:39:19 +0000
committerMartin Pool <mbp@samba.org>2001-02-24 01:39:19 +0000
commit4db414928370edd557a1ff09cacc3aee2b39656c (patch)
treeb188dcfa2d9b58ab3cd5d600bb803b1d2b2aba81
parent1ac15cd8adfb364965189261a860a94ca37c9b6b (diff)
downloadrsync-4db414928370edd557a1ff09cacc3aee2b39656c.tar.gz
popt-1.5 is const-correct.
-rw-r--r--options.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/options.c b/options.c
index c49f948d..4c34e4ca 100644
--- a/options.c
+++ b/options.c
@@ -125,7 +125,7 @@ static void print_rsync_version(int f)
hardlinks, links);
#ifdef NO_INT64
- rprintf(logcode, "WARNING: no 64-bit integers on this platform!\n");
+ rprintf(f, "WARNING: no 64-bit integers on this platform!\n");
#endif
}
@@ -361,8 +361,7 @@ int parse_arguments(int *argc, const char ***argv, int frommain)
/* The context leaks in case of an error, but if there's a
* problem we always exit anyhow. */
- pc = poptGetContext(RSYNC_NAME, *argc, (const char **) *argv,
- long_options, 0);
+ pc = poptGetContext(RSYNC_NAME, *argc, *argv, long_options, 0);
while ((opt = poptGetNextOpt(pc)) != -1) {
if (ref) {