Cast poptGetOptArg() to remove a compiler warning.
authorWayne Davison <wayned@samba.org>
Sat, 11 Jan 2003 01:29:30 +0000 (01:29 +0000)
committerWayne Davison <wayned@samba.org>
Sat, 11 Jan 2003 01:29:30 +0000 (01:29 +0000)
options.c

index 310e8a0..5f6e240 100644 (file)
--- 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