summaryrefslogtreecommitdiff
path: root/ext/odbc/birdstep.c
diff options
context:
space:
mode:
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 9148c71da9..d9c0f36320 100644
--- a/ext/odbc/birdstep.c
+++ b/ext/odbc/birdstep.c
@@ -478,7 +478,7 @@ PHP_FUNCTION(birdstep_result)
if ( Z_TYPE_PP(col) == IS_STRING ) {
field = Z_STRVAL_PP(col);
} else {
- convert_to_int_ex(col);
+ convert_to_long_ex(col);
indx = Z_LVAL_PP(col);
}
if ( field ) {