]> git.saurik.com Git - apple/network_cmds.git/blobdiff - alias/alias_ftp.c
network_cmds-325.tar.gz
[apple/network_cmds.git] / alias / alias_ftp.c
index 7985a95fd3f281818742b857f61489733b96c129..9c886066e08ce0fc18f7a4760a9c82e636f2ee49 100644 (file)
@@ -530,7 +530,7 @@ NewFtpMessage(struct ip *pip,
            case FTP_PORT_COMMAND:
            case FTP_227_REPLY:
                /* Decompose alias port into pair format. */
-               ptr = (char *) &alias_port;
+               ptr = (u_char *) &alias_port;
                p1 = *ptr++; p2=*ptr;
 
                if (ftp_message_type == FTP_PORT_COMMAND) {