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
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php