Fix warning

This commit is contained in:
Zeev Suraski 2000-08-06 21:42:10 +00:00
parent f59cbb9ed1
commit 97cb10bc9e

View file

@ -395,7 +395,7 @@ int MailConnect()
{
int res;
int portnum;
short portnum;
/* Create Socket */
if ((sc = socket(PF_INET, SOCK_STREAM, 0)) == INVALID_SOCKET)
@ -413,7 +413,7 @@ int MailConnect()
}
*/
portnum = INI_INT("sendmail_port");
portnum = (short) INI_INT("sendmail_port");
if (!portnum) {
portnum = 25;
}