diff options
Diffstat (limited to 'ext/msql/php_msql.c')
-rw-r--r-- | ext/msql/php_msql.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/msql/php_msql.c b/ext/msql/php_msql.c index bf266d6afd..06069a731e 100644 --- a/ext/msql/php_msql.c +++ b/ext/msql/php_msql.c @@ -916,7 +916,7 @@ static void php_msql_fetch_hash(INTERNAL_FUNCTION_PARAMETERS, int result_type) RETURN_FALSE; } convert_to_long(arg2); - result_type = arg2->value.lval; + result_type = Z_LVAL_P(arg2); break; default: WRONG_PARAM_COUNT; |