php-src/sapi
Richard Fussenegger 5fa1cd224b Fixed php_socket_t to int conversion
This warning was about a possible loss of data due to the downcast of `php_socket_t` to `int`. The former maps to a platform specific type, hence, it might downcast from a 64 bit integer to a 32 bit intger.

Fixed possibly overflowing vars

Due to the change from `int` to `php_socket_t` some variables might overflow now. Changed all variables that might be affected.

Revert "Fixed possibly overflowing vars"

This reverts commit bf64fd5984.

Use aliased PHP socket type

Using the alias protects us from changes to the underlying type.

Removed ignored nfds argument

The `nfds` argument to the Win32 `select` function is always ignored, regardless of its actual value. Hence, we should not pass it in the first place. See https://msdn.microsoft.com/en-us/library/windows/desktop/ms740141(v=vs.85).aspx for reference.

Target value is not a pointer

Avoid overflow in loop
2017-06-15 23:48:03 +02:00
..
apache2handler Merge branch 'PHP-7.1' 2017-03-28 13:17:05 +02:00
cgi Exclude warm-up requests from callgrind profile. 2017-05-31 16:16:56 +03:00
cli Fixed php_socket_t to int conversion 2017-06-15 23:48:03 +02:00
embed Update copyright headers to 2017 2017-01-04 11:23:42 -06:00
fpm Remove user=foo from FPM test config 2017-05-24 15:07:24 -07:00
litespeed Remove superfluous allocation checks around ZMM-based functions 2017-04-02 00:58:19 +02:00
phpdbg Implemented HYBRID VM instruction dispatch method that takes advantages of both CALL and GOTO VMs. 2017-05-03 10:01:22 +03:00
tests Merge branch 'PHP-5.6' 2015-08-11 01:42:25 +02:00