diff options
Diffstat (limited to 'ext/mysql/php_mysql.c')
| -rw-r--r-- | ext/mysql/php_mysql.c | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c index 2bc488fe23..dc5a2120ba 100644 --- a/ext/mysql/php_mysql.c +++ b/ext/mysql/php_mysql.c @@ -1992,7 +1992,7 @@ Q: String or long first?  				}  				break;  			default: -				convert_to_int_ex(field); +				convert_to_long_ex(field);  				field_offset = Z_LVAL_P(field);  				if (field_offset < 0 || field_offset >= (int)mysql_num_fields(mysql_result)) {  					php_error_docref(NULL TSRMLS_CC, E_WARNING, "Bad column offset specified"); | 
