summaryrefslogtreecommitdiff
path: root/main
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2013-12-12 10:46:21 +0100
committerAnatol Belski <ab@php.net>2013-12-12 10:46:21 +0100
commit39a2dcdeac1c65076b54750435786ae1fbcf2694 (patch)
tree7b9f443f1cbb33312cc4500d324f6bb1a758544b /main
parentd40a5a2797970a316e32a3f6af18f0ce6e1c264a (diff)
parentda62fd5ed824bafc4dc3e90278c3d57d8e74cbe1 (diff)
downloadphp-git-39a2dcdeac1c65076b54750435786ae1fbcf2694.tar.gz
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5: Fixed bug #65486 mysqli_poll() is broken on Win x64
Diffstat (limited to 'main')
-rw-r--r--main/streams/xp_socket.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/streams/xp_socket.c b/main/streams/xp_socket.c
index 4edc68b015..0366027c1d 100644
--- a/main/streams/xp_socket.c
+++ b/main/streams/xp_socket.c
@@ -426,7 +426,7 @@ static int php_sockop_cast(php_stream *stream, int castas, void **ret TSRMLS_DC)
case PHP_STREAM_AS_FD:
case PHP_STREAM_AS_SOCKETD:
if (ret)
- *(int*)ret = sock->socket;
+ *(php_socket_t *)ret = sock->socket;
return SUCCESS;
default:
return FAILURE;