Fixes for Debian bug #192701 (64-bit gccs warn about casts between
[u/mdw/putty] / unix / uxplink.c
index 451d112..5d3efb2 100644 (file)
@@ -263,6 +263,7 @@ static void usage(void)
     printf("  -batch    disable all interactive prompts\n");
     printf("The following options only apply to SSH connections:\n");
     printf("  -pw passw login with specified password\n");
+    printf("  -D listen-port   Dynamic SOCKS-based port forwarding\n");
     printf("  -L listen-port:host:port   Forward local port to "
           "remote address\n");
     printf("  -R listen-port:host:port   Forward remote port to"
@@ -573,7 +574,7 @@ int main(int argc, char **argv)
      */
     logctx = log_init(NULL, &cfg);
     {
-       char *error;
+       const char *error;
        char *realhost;
        /* nodelay is only useful if stdin is a terminal device */
        int nodelay = cfg.tcp_nodelay && isatty(0);