cvs: php4 /win32 sendmail.c
| From: | Zeev Suraski | Date: | Sun, 06 Aug 2000 21:42:10 +0000 |
| Subject: | cvs: php4 /win32 sendmail.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-1074@lists.php.net to get a copy of this message | ||
zeev Sun Aug 6 14:42:10 2000 EDT
Modified files:
/php4/win32 sendmail.c
Log:
Fix warning
Index: php4/win32/sendmail.c
diff -u php4/win32/sendmail.c:1.18 php4/win32/sendmail.c:1.19
--- php4/win32/sendmail.c:1.18 Sun Aug 6 14:38:41 2000
+++ php4/win32/sendmail.c Sun Aug 6 14:42:10 2000
@@ -395,7 +395,7 @@
{
int res;
- int portnum;
+ short portnum;
/* Create Socket */
if ((sc = socket(PF_INET, SOCK_STREAM, 0)) == INVALID_SOCKET)
@@ -413,7 +413,7 @@
}
*/
- portnum = INI_INT("sendmail_port");
+ portnum = (short) INI_INT("sendmail_port");
if (!portnum) {
portnum = 25;
}