summaryrefslogtreecommitdiff
path: root/ext/odbc/birdstep.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/odbc/birdstep.c
parent7cbbb371270fe369eb30a570df95bbdcf42a82e4 (diff)
downloadphp-git-202e8db1dc8e1203039327d81ce6fd82c1c2d909.tar.gz
fixed several long vs zend_long casts
Diffstat (limited to 'ext/odbc/birdstep.c')
-rw-r--r--ext/odbc/birdstep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/odbc/birdstep.c b/ext/odbc/birdstep.c
index d9c0f36320..e23d8beaa5 100644
--- a/ext/odbc/birdstep.c
+++ b/ext/odbc/birdstep.c
@@ -539,7 +539,7 @@ l1:
if ( res->values[indx].valtype == SQL_LONGVARCHAR ) {
RETURN_STRING(res->values[indx].value,TRUE);
} else {
- RETURN_LONG((long)res->values[indx].value);
+ RETURN_LONG((zend_long)res->values[indx].value);
}
default:
if ( res->values[indx].value != NULL ) {