summaryrefslogtreecommitdiff
path: root/ext/com_dotnet/com_variant.c
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2010-11-25 23:06:12 +0000
committerPierre Joye <pajoye@php.net>2010-11-25 23:06:12 +0000
commit4574844c52cdb4cf2d6c6f35925b2171f2d1887b (patch)
tree9296db2f63e26bd232b4f55cc80f6757272a96be /ext/com_dotnet/com_variant.c
parent8f85ff3dd67fbe256b9c7fc7e8bbcd73bdf5e054 (diff)
downloadphp-git-4574844c52cdb4cf2d6c6f35925b2171f2d1887b.tar.gz
- cleanup broken double definition of php_win_err and rename it while being there
Diffstat (limited to 'ext/com_dotnet/com_variant.c')
-rw-r--r--ext/com_dotnet/com_variant.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/com_dotnet/com_variant.c b/ext/com_dotnet/com_variant.c
index f0308856ec..65b8f3cee1 100644
--- a/ext/com_dotnet/com_variant.c
+++ b/ext/com_dotnet/com_variant.c
@@ -446,7 +446,7 @@ PHP_FUNCTION(com_variant_create_instance)
if (FAILED(res)) {
char *werr, *msg;
- werr = php_win_err(res);
+ werr = php_win32_error_to_msg(res);
spprintf(&msg, 0, "Variant type conversion failed: %s", werr);
LocalFree(werr);
@@ -1022,7 +1022,7 @@ PHP_FUNCTION(variant_set_type)
} else {
char *werr, *msg;
- werr = php_win_err(res);
+ werr = php_win32_error_to_msg(res);
spprintf(&msg, 0, "Variant type conversion failed: %s", werr);
LocalFree(werr);
@@ -1056,7 +1056,7 @@ PHP_FUNCTION(variant_cast)
} else {
char *werr, *msg;
- werr = php_win_err(res);
+ werr = php_win32_error_to_msg(res);
spprintf(&msg, 0, "Variant type conversion failed: %s", werr);
LocalFree(werr);