summaryrefslogtreecommitdiff
path: root/ext/satellite/struct.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/satellite/struct.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/satellite/struct.c')
-rw-r--r--ext/satellite/struct.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/satellite/struct.c b/ext/satellite/struct.c
index e7ffbf7daa..6c85af2d0a 100644
--- a/ext/satellite/struct.c
+++ b/ext/satellite/struct.c
@@ -240,11 +240,11 @@ zend_bool OrbitStruct_Constructor(OrbitStruct ** ppStruct,
}
/* validate parameter types */
- if (ppParameters[0]->type != IS_STRING)
+ if (ppPZ_TYPE_P(arameters[0]) != IS_STRING)
goto error;
/* initialize struct */
- if (!OrbitStruct_Initialize(ppParameters[0]->value.str.val, p_struct))
+ if (!OrbitStruct_Initialize(ppPZ_STRVAL_P(arameters[0]), p_struct))
goto error;
*ppStruct = p_struct;