diff options
| author | Frank M. Kromann <fmk@php.net> | 2001-09-26 03:24:19 +0000 |
|---|---|---|
| committer | Frank M. Kromann <fmk@php.net> | 2001-09-26 03:24:19 +0000 |
| commit | 448e9d49ccaf8c3cd1fb18be7f4a205a82e7d880 (patch) | |
| tree | b94143c2b6cdee4e0da3a77a7a49eaac514c8387 /ext/rpc | |
| parent | deb81174b0a25ee9aab8f9e7faf003cb717946ac (diff) | |
| download | php-git-448e9d49ccaf8c3cd1fb18be7f4a205a82e7d880.tar.gz | |
Fixing Win32 build...
Diffstat (limited to 'ext/rpc')
| -rw-r--r-- | ext/rpc/com/com_wrapper.c | 4 | ||||
| -rw-r--r-- | ext/rpc/com/variant.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/ext/rpc/com/com_wrapper.c b/ext/rpc/com/com_wrapper.c index 6e5361a8f3..e7b70f01bd 100644 --- a/ext/rpc/com/com_wrapper.c +++ b/ext/rpc/com/com_wrapper.c @@ -488,7 +488,7 @@ PHP_FUNCTION(com_load) /* if a server is passed, one obviously wants to instanciate a * remote server */ - flags = CTX_REMOTE_SERVER; + flags = CLSCTX_REMOTE_SERVER; /* What is server name? A String or an array? */ @@ -550,7 +550,7 @@ PHP_FUNCTION(com_load) } if (SUCCESS == zend_hash_find(ht, "Flags", 6, (void **) &tmp)) { convert_to_long_ex(tmp); - flags = (CLSCTX) Z_LVAL_P(tmp); + flags = (CLSCTX) Z_LVAL_PP(tmp); } } if (Z_TYPE_P(server_name) == IS_NULL) { diff --git a/ext/rpc/com/variant.c b/ext/rpc/com/variant.c index 80b48550e6..8125b6fc71 100644 --- a/ext/rpc/com/variant.c +++ b/ext/rpc/com/variant.c @@ -180,7 +180,7 @@ static pval php_VARIANT_get_property_handler(zend_property_reference *property_r break; case OE_IS_OBJECT: - if (!strcmp(overloaded_property->Z_STRVAL(element), "value")) { + if (!strcmp(Z_STRVAL(overloaded_property->element), "value")) { php_variant_to_pval(var_arg, &result, codepage TSRMLS_CC); } else if (!strcmp(Z_STRVAL(overloaded_property->element), "type")) { ZVAL_LONG(&result, V_VT(var_arg)) |
