summaryrefslogtreecommitdiff
path: root/win32/sendmail.c
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2000-08-06 21:42:10 +0000
committerZeev Suraski <zeev@php.net>2000-08-06 21:42:10 +0000
commit97cb10bc9ed20086d7c963dbaeda5c6cafd57e3c (patch)
treefafc35df5da8ad7e71f64705b2f7547a248be3a2 /win32/sendmail.c
parentf59cbb9ed136e013b43d0a7f8fec7fd4bbb5e69a (diff)
downloadphp-git-97cb10bc9ed20086d7c963dbaeda5c6cafd57e3c.tar.gz
Fix warning
Diffstat (limited to 'win32/sendmail.c')
-rw-r--r--win32/sendmail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/sendmail.c b/win32/sendmail.c
index 402ef87afa..58182c00e6 100644
--- a/win32/sendmail.c
+++ b/win32/sendmail.c
@@ -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;
}