summaryrefslogtreecommitdiff
path: root/ext/sockets/sockets.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-08-26 11:23:25 +0200
committerAnatol Belski <ab@php.net>2014-08-26 11:26:53 +0200
commit202e8db1dc8e1203039327d81ce6fd82c1c2d909 (patch)
tree05868887a0786140e5a867333b5e374f6a34fe51 /ext/sockets/sockets.c
parent7cbbb371270fe369eb30a570df95bbdcf42a82e4 (diff)
downloadphp-git-202e8db1dc8e1203039327d81ce6fd82c1c2d909.tar.gz
fixed several long vs zend_long casts
Diffstat (limited to 'ext/sockets/sockets.c')
-rw-r--r--ext/sockets/sockets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sockets/sockets.c b/ext/sockets/sockets.c
index e8b598b1e7..6d58732d40 100644
--- a/ext/sockets/sockets.c
+++ b/ext/sockets/sockets.c
@@ -1856,7 +1856,7 @@ PHP_FUNCTION(socket_get_option)
RETURN_FALSE;
}
if (php_add4_to_if_index(&if_addr, php_sock, &if_index TSRMLS_CC) == SUCCESS) {
- RETURN_LONG((long) if_index);
+ RETURN_LONG((zend_long) if_index);
} else {
RETURN_FALSE;
}