Skip to content

Commit b68a162

Browse files
committed
* remove data[1] by C99
1 parent 475f0d0 commit b68a162

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Zend/zend_async_API.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -430,7 +430,7 @@ struct _zend_async_waker_trigger_s {
430430
uint32_t length; /* current number of callbacks */
431431
uint32_t capacity; /* allocated slots in the array */
432432
zend_async_event_t *event;
433-
zend_async_event_callback_t *data[1]; /* flexible array member */
433+
zend_async_event_callback_t *data[]; /* flexible array member */
434434
};
435435

436436
/* Dynamic array of async event callbacks with single iterator protection */

0 commit comments

Comments
 (0)