com php-src: fix datatype mismatch: ext/com_dotnet/com_exte nsion.c
| From: | Anatol Belski | Date: | Thu, 13 Nov 2014 18:57:32 +0000 |
| Subject: | com php-src: fix datatype mismatch: ext/com_dotnet/com_exte nsion.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-83083@lists.php.net to get a copy of this message | ||
Commit: e5acd78f7a55c32b84d367975e3b123ea0c3a010
Author: Anatol Belski <ab@php.net> Thu, 13 Nov 2014 15:27:53 +0100
Parents: 50825aa879cb8d3d2ae0e80496468ee4310ec890
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=e5acd78f7a55c32b84d367975e3b123ea0c3a010
Log:
fix datatype mismatch
Changed paths:
M ext/com_dotnet/com_extension.c
Diff:
diff --git a/ext/com_dotnet/com_extension.c b/ext/com_dotnet/com_extension.c
index 7e15865..e4ed491 100644
--- a/ext/com_dotnet/com_extension.c
+++ b/ext/com_dotnet/com_extension.c
@@ -387,7 +387,7 @@ PHP_MINIT_FUNCTION(com_dotnet)
#define COM_ERR_CONST(x) { \
zend_long __tmp; \
- ULongToUIntPtr(x, &__tmp); \
+ ULongToIntPtr(x, &__tmp); \
REGISTER_LONG_CONSTANT(#x, __tmp, CONST_CS|CONST_PERSISTENT); \
}