Skip to content

Commit 0c8a2d8

Browse files
committed
Fix saproxy_property_write signature
1 parent 5fc71c7 commit 0c8a2d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ext/com_dotnet/com_saproxy.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,10 @@ static zval *saproxy_property_read(zval *object, zval *member, int type, void **
7878
return rv;
7979
}
8080

81-
static void saproxy_property_write(zval *object, zval *member, zval *value, void **cache_slot)
81+
static zval *saproxy_property_write(zval *object, zval *member, zval *value, void **cache_slot)
8282
{
8383
php_com_throw_exception(E_INVALIDARG, "safearray has no properties");
84+
return value;
8485
}
8586

8687
static zval *saproxy_read_dimension(zval *object, zval *offset, int type, zval *rv)

0 commit comments

Comments
 (0)