summaryrefslogtreecommitdiff
path: root/options.c
diff options
context:
space:
mode:
authorWayne Davison <wayned@samba.org>2003-01-11 01:29:30 +0000
committerWayne Davison <wayned@samba.org>2003-01-11 01:29:30 +0000
commit9680f811f6b7763c594ab6f4c4b139df456e2620 (patch)
tree98ce039b30d7838f64a5fdd8f638efa45ec15c11 /options.c
parentbda41fa509dc5214c9d7e924f95866150efaeb81 (diff)
downloadrsync-9680f811f6b7763c594ab6f4c4b139df456e2620.tar.gz
rsync-9680f811f6b7763c594ab6f4c4b139df456e2620.tar.bz2
rsync-9680f811f6b7763c594ab6f4c4b139df456e2620.zip
Cast poptGetOptArg() to remove a compiler warning.
Diffstat (limited to 'options.c')
-rw-r--r--options.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/options.c b/options.c
index 310e8a08..5f6e2407 100644
--- a/options.c
+++ b/options.c
@@ -595,7 +595,7 @@ int parse_arguments(int *argc, const char ***argv, int frommain)
break;
case OPT_LINK_DEST:
#if HAVE_LINK
- compare_dest = poptGetOptArg(pc);
+ compare_dest = (char *)poptGetOptArg(pc);
link_dest = 1;
break;
#else