summaryrefslogtreecommitdiff
path: root/ext/msql/php_msql.c
diff options
context:
space:
mode:
authorJeroen van Wolffelaar <jeroen@php.net>2001-09-25 22:49:04 +0000
committerJeroen van Wolffelaar <jeroen@php.net>2001-09-25 22:49:04 +0000
commit6cfba2a3ea0c59f63b8c225b2a0ff85194f432f5 (patch)
treeb2660d658d42d90c170552b76c11815afd03aed3 /ext/msql/php_msql.c
parent0ddd124d1d58f5f1094c8287e0f3905e6ab45d40 (diff)
downloadphp-git-6cfba2a3ea0c59f63b8c225b2a0ff85194f432f5.tar.gz
2nd phase in back-substitution those macro's
I've got pretty much everything now...
Diffstat (limited to 'ext/msql/php_msql.c')
-rw-r--r--ext/msql/php_msql.c2
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;