diff options
author | Anatol Belski <ab@php.net> | 2014-08-25 21:51:49 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-08-25 21:51:49 +0200 |
commit | af59e92b24c8f624672720d47ef65bd8457728b9 (patch) | |
tree | 1da992a4689783e1351760a8702cbf6844ad37aa /ext/sockets/multicast.c | |
parent | b9514bb8fd27e2d841bab3eb256fcbaa613aa049 (diff) | |
download | php-git-af59e92b24c8f624672720d47ef65bd8457728b9.tar.gz |
master renames phase 7PRE_AST_MERGE
Diffstat (limited to 'ext/sockets/multicast.c')
-rw-r--r-- | ext/sockets/multicast.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/sockets/multicast.c b/ext/sockets/multicast.c index 4834bb39e0..d0bddf674a 100644 --- a/ext/sockets/multicast.c +++ b/ext/sockets/multicast.c @@ -288,7 +288,7 @@ int php_do_setsockopt_ip_mcast(php_socket *php_sock, goto ipv4_loop_ttl; case IP_MULTICAST_TTL: - convert_to_int_ex(arg4); + convert_to_long_ex(arg4); if (Z_LVAL_P(arg4) < 0L || Z_LVAL_P(arg4) > 255L) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Expected a value between 0 and 255"); @@ -353,7 +353,7 @@ int php_do_setsockopt_ipv6_mcast(php_socket *php_sock, ov = (int) Z_TYPE_P(arg4) == IS_TRUE; goto ipv6_loop_hops; case IPV6_MULTICAST_HOPS: - convert_to_int_ex(arg4); + convert_to_long_ex(arg4); if (Z_LVAL_P(arg4) < -1L || Z_LVAL_P(arg4) > 255L) { php_error_docref(NULL TSRMLS_CC, E_WARNING, "Expected a value between -1 and 255"); |