cvs: php4 /main/streams xp_socket.c
| From: | Ilia Alshanetsky | Date: | Mon, 03 Mar 2003 19:57:18 +0000 |
| Subject: | cvs: php4 /main/streams xp_socket.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-19337@lists.php.net to get a copy of this message | ||
iliaa Mon Mar 3 14:57:18 2003 EDT
Modified files:
/php4/main/streams xp_socket.c
Log:
Compiler warning fix.
Index: php4/main/streams/xp_socket.c
diff -u php4/main/streams/xp_socket.c:1.6 php4/main/streams/xp_socket.c:1.7
--- php4/main/streams/xp_socket.c:1.6 Sat Mar 1 10:22:21 2003
+++ php4/main/streams/xp_socket.c Mon Mar 3 14:57:18 2003
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: xp_socket.c,v 1.6 2003/03/01 15:22:21 wez Exp $ */
+/* $Id: xp_socket.c,v 1.7 2003/03/03 19:57:18 iliaa Exp $ */
#include "php.h"
#include "ext/standard/file.h"
@@ -410,7 +410,7 @@
parse_unix_address(xparam, &unix_addr TSRMLS_CC);
- return bind(sock->socket, &unix_addr, sizeof(unix_addr));
+ return bind(sock->socket, (struct sockaddr *)&unix_addr, sizeof(unix_addr));
}
#endif