diff options
Diffstat (limited to 'ext/com_dotnet/com_iterator.c')
| -rw-r--r-- | ext/com_dotnet/com_iterator.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/com_dotnet/com_iterator.c b/ext/com_dotnet/com_iterator.c index 80323a8797..d22bf1efde 100644 --- a/ext/com_dotnet/com_iterator.c +++ b/ext/com_dotnet/com_iterator.c @@ -32,7 +32,7 @@ struct php_com_iterator { zend_object_iterator iter; IEnumVARIANT *ev; - ulong key; + php_uint_t key; VARIANT v; /* cached element */ int code_page; VARIANT safe_array; @@ -75,7 +75,7 @@ static void com_iter_get_key(zend_object_iterator *iter, zval *key TSRMLS_DC) { struct php_com_iterator *I = (struct php_com_iterator*)Z_PTR(iter->data); - if (I->key == (ulong)-1) { + if (I->key == (php_uint_t)-1) { ZVAL_NULL(key); } else { ZVAL_INT(key, I->key); |
